mirror of
https://github.com/dizedev/Main-tech.git
synced 2026-09-17 05:58:49 +00:00
15 lines
336 B
Python
15 lines
336 B
Python
from disnake.ext import commands
|
|
|
|
|
|
class Ping(commands.Cog):
|
|
def __init__(self, bot):
|
|
self.bot = bot
|
|
|
|
@commands.has_any_role(1091637465858715648)
|
|
@commands.slash_command()
|
|
async def ping(self, interaction):
|
|
await interaction.response.send_message("Понг!")
|
|
|
|
|
|
def setup(bot):
|
|
bot.add_cog(Ping(bot)) |