I have a discord bot that is using chatterbot model to achieve auto response, but for some reasons, the bot seems taking longer to response than expected, is it my hardware problem or can I use some method to speed it up?
trainer = ListTrainer(chatbot)
file = open('message.txt', 'r')
conversation = [line.strip() for line in file]
trainer.train(conversation)
client = discord.Client()
@client.event
async def on_ready():
print(f'Who wants some pizza!?')
@client.event
async def on_message(message):
if message.author == client.user:
return
response = chatbot.get_response(message.content)
print(f'{message.channel}, {message.author.name}: {message.content} response: {response}')
await message.channel.send(response)
client.run(TOKEN)
can't believe you guys still talking about the timestamp even after over an hour




Thats why I never hardcode any strings



