broken type

pull/127/head
stijndcl 2022-08-26 21:43:32 +02:00
parent f9083e84ed
commit 966eb63165
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class Fun(commands.Cog):
async def memegen_slash(self, interaction: discord.Interaction, meme: str): async def memegen_slash(self, interaction: discord.Interaction, meme: str):
"""Slash command to generate a meme""" """Slash command to generate a meme"""
async with self.client.postgres_session as session: async with self.client.postgres_session as session:
result = await expect(get_meme_by_name(session, meme), entity_type="meme", argument=meme) result = expect(await get_meme_by_name(session, meme), entity_type="meme", argument=meme)
modal = GenerateMeme(self.client, result) modal = GenerateMeme(self.client, result)
await interaction.response.send_modal(modal) await interaction.response.send_modal(modal)