Answers for "shut down bot discord python"

4

restart discord bot python

heroku ps:restart web -a <my app name>
Posted by: Guest on August-18-2020
0

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()
Posted by: Guest on June-24-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language