-
Notifications
You must be signed in to change notification settings - Fork 9
/
plugins.nix
3335 lines (3334 loc) · 83.9 KB
/
plugins.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{ lib, ... }:
let
inherit (lib) types mkEnableOption mkOption;
in
{
chatInputButtonAPI.enable = mkOption {
type = types.bool;
default = true;
};
commandsAPI.enable = mkOption {
type = types.bool;
default = true;
};
memberListDecoratorsAPI.enable = mkOption {
type = types.bool;
default = true;
};
messageAccessoriesAPI.enable = mkOption {
type = types.bool;
default = true;
};
messageDecorationsAPI.enable = mkOption {
type = types.bool;
default = true;
};
messageEventsAPI.enable = mkOption {
type = types.bool;
default = true;
};
messagePopoverAPI.enable = mkOption {
type = types.bool;
default = true;
};
messageUpdaterAPI.enable = mkOption {
type = types.bool;
default = true;
};
serverListAPI.enable = mkOption {
type = types.bool;
default = true;
};
userSettingsAPI.enable = mkOption {
type = types.bool;
default = true;
};
accountPanelServerProfile = {
enable = mkEnableOption ''
Right click your account panel in the bottom left to
view your profile in the current server
'';
prioritizeServerProfile = mkEnableOption ''
Prioritize Server Profile when left clicking your account panel
'';
};
alwaysAnimate = {
enable = mkEnableOption ''
Animates anything that can be animated
'';
};
alwaysExpandRoles = {
enable = mkEnableOption ''
Always expands the role list in profile popouts
'';
};
alwaysTrust = {
enable = mkEnableOption ''
Removes the annoying untrusted domain and suspicious file popup
'';
domain = mkOption {
type = types.bool;
default = true;
description = ''
Remove the untrusted domain popup when opening links
'';
};
file = mkOption {
type = types.bool;
default = true;
description = ''
Remove the 'Potentially Dangerous Download' popup when opening links
'';
};
};
anonymiseFileNames = {
enable = mkEnableOption ''
Anonymise uploaded file names
'';
anonymiseByDefault = mkEnableOption ''
Whether to anonymise file names by default
'';
method = mkOption {
type = types.enum [
"randomCharacters" # 0
"consistent" # 1
"timestamp" # 2
];
default = "randomCharacters";
description = ''
Anonymising Method
'';
};
randomisedLength = mkOption {
type = types.int;
default = 7;
description = ''
Whether to anonymise file names by default
'';
};
consistent = mkOption {
type = types.str;
default = "image";
description = ''
Consistent Filename
'';
};
};
appleMusicRichPresence = {
enable = mkEnableOption ''
Discord rich presence for your Apple Music!
'';
activityType = mkOption {
type = types.enum [
"playing"
"listening"
];
default = "playing";
example = "listening";
description = ''
Which type of activity
'';
};
refreshInterval = mkOption {
type = types.number;
default = 5;
description = ''
The interval between activity refreshes (seconds)
'';
};
enableTimestamps = mkOption {
type = types.bool;
default = true;
description = ''
Whether or not to enable timestamps
'';
};
enableButtons = mkOption {
type = types.bool;
default = true;
description = ''
Whether or not to enable buttons
'';
};
nameString = mkOption {
type = types.str;
default = "Apple Music";
description = ''
Activity name format string
'';
};
detailsString = mkOption {
type = types.str;
default = "{name}";
description = ''
Activity details format string
'';
};
stateString = mkOption {
type = types.str;
default = "{artist}";
description = ''
Activity state format string
'';
};
largeImageType = mkOption {
type = types.enum [
"Album"
"Artist"
"Disabled"
];
default = "Album";
description = ''
Activity assets large image type
'';
};
largeTextString = mkOption {
type = types.str;
default = "{album}";
description = ''
Activity assets large text format string
'';
};
smallImageType = mkOption {
type = types.enum [
"Album"
"Artist"
"Disabled"
];
default = "Artist";
description = ''
Activity assets small image type
'';
};
smallTextString = mkOption {
type = types.str;
default = "{artist}";
description = ''
Activity assets small text format string
'';
};
};
# deprecated
# TODO remove after some time
automodContext = {
enable = mkEnableOption ''
Allows you to jump to the messages surrounding an automod hit
'';
};
banger = {
enable = mkEnableOption ''
Replaces the GIF in the ban dialogue with a custom one.
'';
source = mkOption {
type = types.str;
default = "https://i.imgur.com/wp5q52C.mp4";
description = ''
Source to replace ban GIF with (Video or Gif)
'';
};
};
betterFolders = {
enable = mkEnableOption ''
Shows server folders on dedicated sidebar and adds folder related improvements
'';
sidebar = mkOption {
type = types.bool;
default = true;
description = ''
Display servers from folder on dedicated sidebar
'';
};
sidebarAnim = mkOption {
type = types.bool;
default = true;
description = ''
Animate opening the folder sidebar
'';
};
closeAllFolders = mkOption {
type = types.bool;
default = false;
description = ''
Close all folders when selecting a server not in a folder
'';
};
closeAllHomeButton = mkOption {
type = types.bool;
default = false;
description = ''
Close all folders when clicking on the home button
'';
};
closeOthers = mkOption {
type = types.bool;
default = false;
description = ''
Close other folders when opening a folder
'';
};
forceOpen = mkOption {
type = types.bool;
default = false;
description = ''
Force a folder to open when switching to a server of that folder
'';
};
keepIcons = mkOption {
type = types.bool;
default = false;
description = ''
Keep showing guild icons in the primary guild bar folder when it
's open in the BetterFolders sidebar'';
};
showFolderIcon = mkOption {
type = types.enum [
"never" # 0
"always" # 1
"moreThanOne" # 2
];
default = "never";
description = ''
Show the folder icon above the folder guilds in the BetterFolders sidebar
'';
};
};
betterGifAltText = {
enable = mkEnableOption ''
Change GIF alt text from simply being 'GIF' to containing the gif tags / filename
'';
};
betterGifPicker = {
enable = mkEnableOption ''
Makes the gif picker open the favourite category by default
'';
};
betterNotesBox = {
enable = mkEnableOption ''
Hide notes or disable spellcheck (Configure in settings!!)
'';
hide = mkEnableOption ''
Hide notes
'';
noSpellCheck = mkEnableOption ''
Disable spellcheck in notes
'';
};
betterRoleContext = {
enable = mkEnableOption ''
Adds options to copy role color / edit role / view role icon when right clicking roles in the user profile
'';
roleIconFileFormat = mkOption {
type = types.enum [
"png"
"webp"
"jpg"
];
default = "png";
description = "File format to use when viewing role icons";
};
};
betterRoleDot = {
enable = mkEnableOption ''
Copy role color on RoleDot (accessibility setting) click.
Also allows using both RoleDot and colored names simultaneously
'';
bothStyles = mkEnableOption ''
Show both role dot and coloured names
'';
copyRoleColorInProfilePopout = mkEnableOption ''
Allow click on role dot in profile popout to copy role color
'';
};
betterSessions = {
enable = mkEnableOption ''
Enhances the sessions (devices) menu. Allows you to view exact timestamps,
give each session a custom name, and receive notifications about new sessions.
'';
backgroundCheck = mkEnableOption ''
Check for new sessions in the background, and display notifications when they are detected
'';
checkInterval = mkOption {
type = types.int;
default = 20;
description = ''
How often to check for new sessions in the background (if enabled), in minutes
'';
};
};
betterSettings = {
enable = mkEnableOption ''
Enhances your settings-menu-opening experience
'';
disableFade = mkOption {
type = types.bool;
default = true;
description = ''
Disable the crossfade animation
'';
};
organizeMenu = mkOption {
type = types.bool;
default = true;
description = ''
Organizes the settings cog context menu into categories
'';
};
eagerLoad = mkOption {
type = types.bool;
default = true;
description = ''
Removes the loading delay when opening the menu for the first time
'';
};
};
betterUploadButton = {
enable = mkEnableOption ''
Upload with a single click, open menu with right click
'';
};
biggerStreamPreview = {
enable = mkEnableOption ''
This plugin allows you to enlarge stream previews
'';
};
blurNSFW = {
enable = mkEnableOption ''
Blur attachments in NSFW channels until hovered
'';
blurAmount = mkOption {
type = types.int;
default = 10;
description = ''
Blur Amount
'';
};
};
callTimer = {
enable = mkEnableOption ''
Adds a timer to vcs
'';
format = mkOption {
type = types.str;
default = "stopwatch";
example = "human";
description = ''
The timer format. This can be any valid moment.js format
'';
};
};
clearURLs = {
enable = mkEnableOption ''
Removes tracking garbage from URLs
'';
};
clientTheme = {
enable = mkEnableOption ''
Recreation of the old client theme experiment. Add a color to your Discord client theme
'';
color = mkOption {
type = types.str;
default = "313338";
example = "184ed6";
description = ''
Color your Discord client theme will be based around. Light mode isn't supported
RGB hex color as a plain number string
'';
};
};
colorSighted = {
enable = mkEnableOption ''
Removes the colorblind-friendly icons from statuses, just like 2015-2017 Discord
'';
};
consoleJanitor = {
enable = mkEnableOption ''
Disables annoying console messages/errors
'';
disableLoggers = mkOption {
type = types.bool;
default = true;
description = ''
Disables Discords loggers
'';
};
# deprecated
disableNoisyLoggers = mkEnableOption ''
Disable noisy loggers like the MessageActionCreators
'';
disableSpotifyLogger = mkOption {
type = types.bool;
default = true;
description = ''
Disable the Spotify logger, which leaks account information and access token
'';
};
whitelistedLoggers = mkOption {
type = types.str;
default = "GatewaySocket; Routing/Utils";
description = ''
Semi colon separated list of loggers to allow even if others are hidden
'';
};
};
consoleShortcuts = {
enable = mkEnableOption ''
Adds shorter Aliases for many things on the window. Run `shortcutList` for a list.
'';
};
copyEmojiMarkdown = {
enable = mkEnableOption ''
Allows you to copy emojis as formatted string (<:blobcatcozy:1026533070955872337>)
'';
copyUnicode = mkOption {
type = types.bool;
default = true;
description = ''
Copy the raw unicode character instead of :name: for default emojis (👽)
'';
};
};
copyFileContents = {
enable = mkEnableOption ''
Adds a button to text file attachments to copy their contents
'';
};
copyUserURLs = {
enable = mkEnableOption ''
Adds a 'Copy User URL' option to the user context menu.
'';
};
crashHandler = {
enable = mkOption {
type = types.bool;
default = true; # Default on
description = ''
Utility plugin for handling and possibly recovering from crashes without a restart
'';
};
attemptToPreventCrashes = mkOption {
type = types.bool;
default = true;
description = ''
Whether to attempt to prevent Discord crashes.
'';
};
attemptToNavigateToHome = mkEnableOption ''
Whether to attempt to navigate to the home when preventing Discord crashes
'';
};
ctrlEnterSend = {
enable = mkEnableOption ''
Use Ctrl+Enter to send messages (customizable)
'';
submitRule = mkOption {
type = types.enum [
"ctrl+enter"
"shift+enter"
"enter"
];
default = "ctrl+enter";
example = "shift+enter";
description = ''
The way to send a message
'';
};
sendMessageInTheMiddleOfACodeBlock = mkOption {
type = types.bool;
default = true;
description = ''
Whether to send a message in the middle of a code block
'';
};
};
customRPC = {
enable = mkEnableOption ''
Allows you to set a custom rich presence.
'';
appID = mkOption {
type = with types; nullOr str;
default = null;
example = "1316659";
description = ''
Application ID (required)
'';
};
appName = mkOption {
type = with types; nullOr str;
default = null;
example = "myRPC";
description = ''
Application name (required)
Application name must be not longer than 128 characters.
'';
};
details = mkOption {
type = with types; nullOr str;
default = null;
example = "my RPC desc";
description = ''
Details (line 1)
Details (line 1) must be not longer than 128 characters.
'';
};
state = mkOption {
type = with types; nullOr str;
default = null;
example = "my RPC state";
description = ''
State (line 2)
State (line 2) must be not longer than 128 characters.
'';
};
type = mkOption {
type = types.enum [
"playing" # 0
"streaming" # 1
"listening" # 2
"watching" # 3
"competing" # 4
];
default = "playing";
description = ''
Activity type
'';
};
streamLink = mkOption {
type = with types; nullOr str;
default = null;
description = ''
Twitch.tv or Youtube.com link (only for Streaming activity type)
'';
};
timestampMode = mkOption {
type = types.enum [
"none" # 0
"discordUptime" # 1
"currentTime" # 2
"customTime" # 3
];
default = "none";
description = ''
Timestamp mode
'';
};
startTime = mkOption {
type = with types; nullOr int;
default = null;
description = ''
Start timestamp in milliseconds (only for custom timestamp mode)
Start timestamp must be greater than 0.
'';
};
endTime = mkOption {
type = with types; nullOr int;
default = null;
description = ''
End timestamp in milliseconds (only for custom timestamp mode)
End timestamp must be greater than 0.
'';
};
imageBig = mkOption {
type = types.str;
default = "";
description = ''
Big image key/link
'';
};
imageBigTooltip = mkOption {
type = types.str;
default = "";
description = ''
Big image tooltip
Big image tooltip must be not longer than 128 characters.
'';
};
imageSmall = mkOption {
type = types.str;
default = "";
description = ''
Small image key/link
'';
};
imageSmallTooltip = mkOption {
type = types.str;
default = "";
description = ''
Small image tooltip
Small image tooltip must be not longer than 128 characters.
'';
};
buttonOneText = mkOption {
type = types.str;
default = "";
description = ''
Button 1 text
Button 1 text must be not longer than 31 characters.
'';
};
buttonOneURL = mkOption {
type = types.str;
default = "";
description = ''
Button 1 URL
'';
};
buttonTwoText = mkOption {
type = types.str;
default = "";
description = ''
Button 2 text
Button 2 text must be not longer than 31 characters.
'';
};
buttonTwoURL = mkOption {
type = types.str;
default = "";
description = ''
Button 2 URL
'';
};
};
customIdle = {
enable = mkEnableOption ''
Allows you to set the time before Discord goes idle (or disable auto-idle)
'';
idleTimeout = mkOption {
type = types.float;
default = 10.0;
description = ''
Minutes before Discord goes idle (0 to disable auto-idle)
'';
};
remainInIdle = mkOption {
type = types.bool;
default = true;
description = ''
When you come back to Discord, remain idle until you confirm you want to go online
'';
};
};
dearrow = {
enable = mkEnableOption ''
Makes YouTube embed titles and thumbnails less sensationalist, powered by Dearrow
'';
hideButton = mkEnableOption ''
Hides the Dearrow button from YouTube embeds
'';
replaceElements = mkOption {
type = types.enum [
"everything" # 0
"titles" # 1
"thumbnails" # 2
];
default = "everything";
description = ''
Which elements of the embed will be replaced
'';
};
dearrowByDefault = mkOption {
type = types.bool;
default = true;
description = ''
Dearrow videos automatically
'';
};
};
decor = {
enable = mkEnableOption ''
Create and use your own custom avatar decorations, or pick your favorite from the presets.
'';
};
disableCallIdle = {
enable = mkEnableOption ''
Disables automatically getting kicked from a DM voice call after 3 minutes
and being moved to an AFK voice channel.
'';
};
dontRoundMyTimestamps = {
enable = mkEnableOption ''
Always rounds relative timestamps down, so 7.6y becomes 7y instead of 8y
'';
};
emoteCloner = {
enable = mkEnableOption ''
Allows you to clone Emotes & Stickers to your own server (right click them)
'';
};
experiments = {
enable = mkEnableOption ''
Enable Access to Experiments & other dev-only features in Discord!
'';
toolbarDevMenu = mkEnableOption ''
Change the Help (?) toolbar button (top right in chat) to Discord's developer menu
'';
};
f8Break = {
enable = mkEnableOption ''
Pause the client when you press F8 with DevTools (+ breakpoints) open.
'';
};
fakeNitro = {
enable = mkEnableOption ''
Allows you to stream in nitro quality, send fake emojis/stickers,
use client themes and custom Discord notifications.
'';
enableEmojiBypass = mkOption {
type = types.bool;
default = true;
description = ''
Allows sending fake emojis (also bypasses missing permission to use custom emojis)
'';
};
emojiSize = mkOption {
type = types.int;
default = 48;
example = 128;
description = ''
Size of the emojis when sending
'';
};
transformEmojis = mkOption {
type = types.bool;
default = true;
description = ''
Whether to transform fake emojis into real ones
'';
};
enableStickerBypass = mkOption {
type = types.bool;
default = true;
description = ''
Allows sending fake stickers (also bypasses missing permission to use stickers)
'';
};
stickerSize = mkOption {
type = types.int;
default = 160;
example = 256;
description = ''
Size of the stickers when sending
'';
};
transformStickers = mkOption {
type = types.bool;
default = true;
description = ''
Whether to transform fake stickers into real ones
'';
};
transformCompoundSentence = mkEnableOption ''
Whether to transform fake stickers and emojis in compound sentences
(sentences with more content than just the fake emoji or sticker link)
'';
enableStreamQualityBypass = mkOption {
type = types.bool;
default = true;
description = ''
Allow streaming in nitro quality
'';
};
useHyperLinks = mkOption {
type = types.bool;
default = true;
description = ''
Whether to use hyperlinks when sending fake emojis and stickers
'';
};
hyperLinkText = mkOption {
type = types.str;
default = "{{NAME}}";
description = ''
What text the hyperlink should use.
{{NAME}} will be replaced with the emoji/sticker name.
'';
};
disableEmbedPermissionCheck = mkEnableOption ''
Whether to disable the embed permission check when sending fake emojis and stickers
'';
};
fakeProfileThemes = {
enable = mkEnableOption ''
Allows profile theming by hiding the colors in your bio thanks to invisible 3y3 encoding
'';
nitroFirst = mkOption {
type = types.bool;
default = true;
description = ''
Use Nitro color source first if both are present
'';
};
};
favoriteEmojiFirst = {
enable = mkEnableOption ''
Puts your favorite emoji first in the emoji autocomplete.
'';
};
favoriteGifSearch = {
enable = mkEnableOption ''
Adds a search bar to favorite gifs.
'';
searchOption = mkOption {
type = types.enum [
"hostandpath"
"url"
"path"
];
default = "hostandpath";
example = "url";
description = ''
The part of the url you want to search
url - Entire Url
path - Path Only (/somegif.gif)
hostandpath - Host & Path (tenor.com somgif.gif)
'';
};
};
fixCodeblockGap = {
enable = mkEnableOption ''
Removes the gap between codeblocks and text below it
'';
};
fixImagesQuality = {
enable = mkEnableOption ''
Prevents images from being loaded as webp, which can cause quality loss
'';
};
fixSpotifyEmbeds = {
enable = mkEnableOption ''
Fixes spotify embeds being incredibly loud by letting you customise the volume
'';
volume = mkOption {
type = types.float;
default = 10.0;
description = ''
The volume % to set for spotify embeds. Anything above 10% is veeeery loud
'';
};
};
fixYoutubeEmbeds = {
enable = mkEnableOption ''
Bypasses youtube videos being blocked from display on Discord (for example by UMG)
'';
};
forceOwnerCrown = {
enable = mkEnableOption ''
Force the owner crown next to usernames even if the server is large.
'';
};
friendInvites = {
enable = mkEnableOption ''
Create and manage friend invite links via slash commands
(/create friend invite, /view friend invites, /revoke friend invites).
'';
};
friendsSince = {
enable = mkEnableOption ''
Shows when you became friends with someone in the user popout
'';
};
fullSearchContext = {
enable = mkEnableOption ''
Makes the message context menu in message search results have all options you'd expect
'';
};
gameActivityToggle = {
enable = mkEnableOption ''
Adds a button next to the mic and deafen button to toggle game activity.
'';
oldIcon = mkEnableOption ''
Use the old icon style before Discord icon redesign
'';
};
gifPaste = {
enable = mkEnableOption ''
Makes picking a gif in the gif picker insert a link into the chatbox instead of instantly sending it
'';
};
greetStickerPicker = {
enable = mkEnableOption ''
Allows you to use any greet sticker instead of only the
random one by right-clicking the 'Wave to say hi!' button
'';
greetMode = mkOption {
type = types.enum [
"Greet"
"Message"
];
default = "Greet";
example = "Message";
description = ''
Choose the greet mode
Greet - Greet (you can only greet 3 times)
Message - Normal Message (you can greet spam)
'';
};
};
hideAttachments = {
enable = mkEnableOption ''
Hide attachments and Embeds for individual messages via hover button
'';
};
iLoveSpam = {
enable = mkEnableOption ''
Do not hide messages from 'likely spammers'
'';
};
ignoreActivities = {
enable = mkEnableOption ''
Ignore activities from showing up on your status ONLY.
You can configure which ones are specifically ignored from the
Registered Games and Activities tabs, or use the general settings below.
'';
idsList = mkOption {
type = types.str;
default = "";
example = "235834946571337729, 343383572805058560";
description = ''
Comma separated list of activity IDs (Useful for allowing RPC activities and CustomRPC)
'';
};
allowedIds = mkOption {
type = with types; nullOr str;
default = null;
example = "235834946571337729, 343383572805058560";
description = ''
Comma separated list of activity IDs to allow (Useful for allowing RPC activities and CustomRPC)
'';
};
listMode = mkOption {
type = types.enum [
"whitelist"