File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class BruhCommand(commands.Cog):
1717 usage = "`/bruh <изображение> <текст>" ,
1818 help = "### Пример:\n `/bruh` `image.png` `Пей горн`"
1919 )
20- @app_commands .default_permissions (discord .Permissions . administrator )
20+ @app_commands .default_permissions (discord .Permissions ( administrator = True )
2121
2222 async def bruh (
2323 self ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class DemotivatorCommand(commands.Cog):
1717 usage = "`/demotivator <изображение> <большой текст> [маленький текст]`" ,
1818 help = "### Пример:\n `/demotivator` `image.png` `SAY GEX` `pay gorn`"
1919 )
20- @app_commands .default_permissions (discord .Permissions . administrator )
20+ @app_commands .default_permissions (discord .Permissions ( administrator = True )
2121
2222 async def demotivator (
2323 self ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class ImpactCommand(commands.Cog):
2121 top_text = "Верхний текст (до 500 символов)" ,
2222 bottom_text = "Нижний текст (до 500 символов)"
2323 )
24- @app_commands .default_permissions (discord .Permissions . administrator )
24+ @app_commands .default_permissions (discord .Permissions ( administrator = True ) )
2525
2626 async def impact (
2727 self ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class SoyjakCommand(commands.Cog):
2020 usage = "`/soyjak <изображение>`" ,
2121 help = "### Пример:\n `/soyjak image.png`"
2222 )
23- @app_commands .default_permissions (discord .Permissions . administrator )
23+ @app_commands .default_permissions (discord .Permissions ( administrator = True )
2424
2525 async def soyjak (self , ctx : commands .Context , image : discord .Attachment ):
2626 if not image .content_type or "image" not in image .content_type :
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class SpeechbubbleCommand(commands.Cog):
4444 transparent2 = "Прозрачность второго спичбаббла" ,
4545 direction2 = "Положение стрелки второго спичбаббла" ,
4646 )
47- @app_commands .default_permissions (discord .Permissions . administrator )
47+ @app_commands .default_permissions (discord .Permissions ( administrator = True )
4848
4949 async def speechbubble (
5050 self ,
You can’t perform that action at this time.
0 commit comments