diff --git a/bot.py b/bot.py index 297ef58..81aed6f 100644 --- a/bot.py +++ b/bot.py @@ -425,7 +425,7 @@ async def list_messages_slash(ctx: SlashContext, channel: Optional[discord.abc.G description="Toss a pipelin to your favourite teacher and see whether it's schnel or slo" ) async def flip_pipelin_slash(ctx: SlashContext): - await ctx.channel.send("Pipelin " + random.choice(['schnel', 'slo'])) + await ctx.send("Pipelin " + random.choice(['schnel', 'slo'])) # ____ ____ ___ _ _ ____ ____ @@ -826,8 +826,9 @@ async def quote_list_slash(ctx: SlashContext, author: Optional[str] = None): coroutines = [] await ctx.defer() for author, author_quotes in quotes.items(): - coroutines.append(ctx.send(embed=create_list_embed(author, author_quotes))) + coroutines.append(ctx.channel.send(embed=create_list_embed(author, author_quotes))) await asyncio.gather(*coroutines) + await ctx.send(content="") else: author = author.strip().title() if author in quotes: