✨ reworking a bunch of stuff
This commit is contained in:
9
gwendolyn/ext/misc.py
Normal file
9
gwendolyn/ext/misc.py
Normal file
@ -0,0 +1,9 @@
|
||||
from interactions import Extension, slash_command, SlashContext
|
||||
|
||||
class MiscExtension(Extension):
|
||||
"""Contains the miscellaneous commands."""
|
||||
|
||||
@slash_command()
|
||||
async def hello(self, ctx: SlashContext):
|
||||
"""Greet the bot."""
|
||||
await ctx.send(f"Hello, I'm {self.bot.user.mention}!")
|
Reference in New Issue
Block a user