I\'ve been working in a discord bot and I have a little problem with it. The only way I\'m able to stop it is using CTRL+C which I don\'t think it\'s a safe way to do it bec