You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""":class:`bool`: Returns ``True`` if a user can create, edit, or delete webhooks."""
465
465
return1<<29
466
-
466
+
467
467
@flag_value
468
+
defmanage_expressions(self):
469
+
""":class:`bool`: Returns ``True`` if a user can create, edit, or delete emojis, stickers and sounds."""
470
+
return1<<30
471
+
472
+
@make_permission_alias('manage_expressions')
468
473
defmanage_emojis(self):
469
-
""":class:`bool`: Returns ``True`` if a user can create, edit, or delete emojis and stickers."""
474
+
""":class:`bool`: An aliase for :attr:`manage_expressions`"""
470
475
return1<<30
471
-
472
-
@make_permission_alias('manage_emojis')
476
+
477
+
@make_permission_alias('manage_expressions')
478
+
defmanage_stickers(self):
479
+
""":class:`bool`: An aliase for :attr:`manage_expressions`"""
480
+
return1<<30
481
+
482
+
@make_permission_alias('manage_expressions')
473
483
defmanage_emojis_and_stickers(self):
474
-
""":class:`bool`: An aliase for :attr:`manage_emojis`"""
484
+
""":class:`bool`: An aliase for :attr:`manage_expressions`"""
475
485
return1<<30
476
-
477
-
@make_permission_alias('manage_emojis')
478
-
defmanage_stickers(self):
479
-
""":class:`bool`: An aliase for :attr:`manage_emojis`"""
486
+
487
+
@make_permission_alias('manage_expressions')
488
+
defmanage_sounds(self):
489
+
""":class:`bool`: An aliase for :attr:`manage_expressions`"""
480
490
return1<<30
481
-
491
+
492
+
@flag_value
493
+
defcreate_expressions(self):
494
+
""":class:`bool`: Returns ``True`` if a user can create emojis, stickers or `sounds <https://support.discord.com/hc/de/articles/12612888127767-Soundboard-FAQ>`_ in a server."""
495
+
return1<<43
496
+
497
+
@make_permission_alias('create_expressions')
498
+
defcreate_emojis(self):
499
+
""":class:`bool`: An aliase for :attr:`create_expressions`"""
500
+
return1<<43
501
+
502
+
@make_permission_alias('create_expressions')
503
+
defcreate_stickers(self):
504
+
""":class:`bool`: An aliase for :attr:`create_expressions`"""
505
+
return1<<43
506
+
507
+
@make_permission_alias('create_expressions')
508
+
defcreate_sounds(self):
509
+
""":class:`bool`: An aliase for :attr:`create_expressions`"""
510
+
return1<<43
511
+
482
512
@flag_value
483
513
defuse_slash_commands(self):
484
514
""":class:`bool`: Returns ``True`` if a user can use slash commands and context-menu commands.
@@ -502,8 +532,13 @@ def request_to_speak(self):
502
532
503
533
@flag_value
504
534
defmanage_events(self):
505
-
""":class:`bool`: Returns ``True`` if a user can manage Guild_Scheduled-Events."""
535
+
""":class:`bool`: Returns ``True`` if a user can create and manage Guild-Scheduled-Events."""
506
536
return1<<33
537
+
538
+
@flag_value
539
+
defcreate_events(self):
540
+
""":class:`bool`: Returns ``True`` if a user can create Guild-Scheduled-Events."""
541
+
return1<<44
507
542
508
543
@flag_value
509
544
defmanage_threads(self):
@@ -555,6 +590,16 @@ def moderate_members(self):
555
590
deftimeout_members(self):
556
591
""":class:`bool`: An alias for :attr:`moderate_members`."""
557
592
return1<<40
593
+
594
+
@flag_value
595
+
defview_creator_monetization_analytics(self):
596
+
""":class:`bool`: Returns ``True`` if a user can view analytics for monetization of their content."""
597
+
return1<<41
598
+
599
+
@flag_value
600
+
defuse_soundboard(self):
601
+
""":class:`bool`: Returns ``True`` if a user can use the soundboard in a voice channel."""
0 commit comments