0
Q:

how to make my discord bot shut down with a command

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

New to Communities?

Join the community