[Snacktime] Fix for greedy messages

This commit is contained in:
aikaterna
2019-11-01 14:12:36 -07:00
committed by GitHub
parent 12ca45123b
commit d19c0c2826

View File

@@ -462,8 +462,5 @@ class Snacktime(commands.Cog):
if userWants:
await asyncio.sleep(randint(1, 6))
if self.acceptInput.get(scid, False):
await message.channel.send(
await self.get_response(message, "GREEDY").format(
message.author.name
)
)
resp = await self.get_response(message, "GREEDY")
await message.channel.send(resp.format(message.author.name))