diff --git a/cogs/pingcommands.py b/cogs/pingcommands.py index 04d913a..d28aa3c 100644 --- a/cogs/pingcommands.py +++ b/cogs/pingcommands.py @@ -9,13 +9,13 @@ class PingCommands(commands.Cog): @commands.has_any_role(1091637465858715648) @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: + if disnake.utils.get(ctx.author.roles, id=): + if ctx.channel.id == : await ctx.send("Понг!") else: await ctx.send('Вы не можете использовать эту команду в текущем канале.') else: - await ctx.send(f'{ctx.author.mention}, у вас нет роли <@&1060541642450411560>.') + await ctx.send(f'{ctx.author.mention}, у вас нет роли .') def setup(bot):