Hello, I have a 5$ account and I want to run my discord bot 24/7. I have the "classic" error
RuntimeError: Event loop is closed
I saw I need to use a uwsgi webserver instead of an eventloop webserver. I don't know what awsgi webserver is (idk what is eventloop webserver either...)
Can someone help me solve my problem ? :D Here is the code
import discord
from discord.ext import commands
token = 'token'
prefix = '+'
client = commands.Bot(command_prefix=prefix)
client.remove_command('help')
async def on_message(ctx):
..
SOME STUFF
..
client.run(token)
Thank you in advance :D
[edit by admin: code formatting]