Wie kann mein Discord Bot mit einem Befehl geschlossen werden

#this was in a cog
@commands.command()
@commands.is_owner()
  async def shutdown(self, ctx):
     await ctx.bot.logout()
Meaty Boi