mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-24 17:10:35 +12:00
async fire and forget won't work
This commit is contained in:
parent
cf2980a5b0
commit
f8ac9cfe69
|
@ -182,7 +182,7 @@ class ScriptCog:
|
|||
variance = 0
|
||||
|
||||
await self.bot.say("Generating script, please wait...")
|
||||
asyncio.ensure_future(self.get_model_output(num_words_to_generate, variance, seed))
|
||||
await self.get_model_output(num_words_to_generate, variance, seed)
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(ScriptCog(bot))
|
||||
|
|
Loading…
Reference in a new issue