diff --git a/Chatbot.py b/Chatbot.py index caee4d3..d827bf2 100644 --- a/Chatbot.py +++ b/Chatbot.py @@ -269,7 +269,7 @@ class Chatbot(commands.Cog): except: pass - response = self.getResponseForMessage(wordsToRespondTo) + response = await self.getResponseForMessage(wordsToRespondTo) await ctx.channel.send(response) # Calculate probabilities and pick a next word from a word pair dict: