how to make a script to automatically reset a discord bot every 8 hours code example
Example: 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()