Answer the question
In order to leave comments, you need to log in
Discord bot not working on Heroku (?
If you run the bot on a PC, it works, but on Heroku it refuses in every possible way.
The github repository has the following files:
worker: python disbot.py
import discord
from discord.ext import commands
from discord.ext.commands import Bot
Bot = commands.Bot(command_prefix='!')
@Bot.event
async def on_ready():
print('Бот онлайн!')
@Bot.command(pass_context = True)
async def hello(ctx):
await Bot.say("Hello!!!")
Bot.run("") // токен убрал на всякий случай
discord.py
aiohttp
websockets
chardet
python-3.6.8
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question