added: base files

This commit is contained in:
Alex D
2023-04-23 18:38:54 +03:00
parent 23f15563f9
commit 6e93ae616e
6 changed files with 145 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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))