modmail-dev / Modmail

A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.
https://docs.modmail.dev
GNU Affero General Public License v3.0
1.58k stars 4.59k forks source link

Having trouble setting up the bot #36

Closed DtyKeys closed 5 years ago

DtyKeys commented 6 years ago

I'm running the bot from a vps, and when I typed "python3.6 bot.py" it asked for the bot token. After I inputted the token I got

Traceback (most recent call last): File "bot.py", line 511, in Modmail.init() File "bot.py", line 107, in init raise e File "bot.py", line 105, in init bot.run(to_use, activity=discord.Game(os.getenv('STATUS')), reconnect=True) TypeError: init() takes 1 positional argument but 2 were given Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7efc850bcd30>

ghost commented 6 years ago
I got the same issue.

I suggest hosting it on Heroku. Be sure to check this while creating the project.