last code from server

This commit is contained in:
Alex D
2023-04-25 04:47:00 +03:00
parent cb8fb7d359
commit 5cca85686e
12 changed files with 31 additions and 24 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ class PingCommands(commands.Cog):
self.bot = bot
@commands.has_any_role(1091637465858715648)
@commands.slash_command(name="ping")
@commands.slash_command(name="ping", description="Показывает состояние бота")
async def ping(self, ctx: disnake.AppCommandInteraction):
if disnake.utils.get(ctx.author.roles, id=1091637465858715648):
if ctx.channel.id == 1060544039767789639: