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}!")