Closed karnetmp closed 2 years ago
I'm trying to run the bot on Ubuntu 20.04 and I can't get it to work.
python3.7 bot.py INFO:root:Initializing database INFO:root:Using SQLite database dev.db INFO:tortoise:Tortoise-ORM startup connections: {'default': {'engine': 'tortoise.backends.sqlite', 'credentials': {'journal_mode': 'WAL', 'journal_size_limit': 16384, 'file_path': 'dev.db'}}} apps: {'db': {'models': ['db.models.user', 'db.models.account', 'db.models.stats', 'db.models.transaction', 'db.models.muted', 'db.models.favorite', 'db.models.giveaway'], 'default_connection': 'default'}} INFO:root:Graham server running at 127.0.0.1:11337 INFO:discord.client:logging in using static token INFO:root:Re-queue task started INFO:discord.gateway:Shard ID None has sent the IDENTIFY payload. INFO:discord.gateway:Websocket closed with 4014, cannot reconnect.
The issue was with the privileged gateway intents settings which needed to be turned on on the Discord's app settings.
I'm trying to run the bot on Ubuntu 20.04 and I can't get it to work.
python3.7 bot.py INFO:root:Initializing database INFO:root:Using SQLite database dev.db INFO:tortoise:Tortoise-ORM startup connections: {'default': {'engine': 'tortoise.backends.sqlite', 'credentials': {'journal_mode': 'WAL', 'journal_size_limit': 16384, 'file_path': 'dev.db'}}} apps: {'db': {'models': ['db.models.user', 'db.models.account', 'db.models.stats', 'db.models.transaction', 'db.models.muted', 'db.models.favorite', 'db.models.giveaway'], 'default_connection': 'default'}} INFO:root:Graham server running at 127.0.0.1:11337 INFO:discord.client:logging in using static token INFO:root:Re-queue task started INFO:discord.gateway:Shard ID None has sent the IDENTIFY payload. INFO:discord.gateway:Websocket closed with 4014, cannot reconnect.