Fix incorrect module

This commit is contained in:
2021-01-29 11:38:10 +01:00
parent 9abfd558f1
commit 3234218b4e

2
bot.py
View File

@@ -312,7 +312,7 @@ async def quote_command(ctx: commands.Context, author: Optional[str], *, quote:
@bot.command(name='quote_remove', brief='Remove a quote')
async def quote_remove_command(ctx: discord.Context, author: str, quote: str):
async def quote_remove_command(ctx: commands.Context, author: str, quote: str):
if not ctx.author.guild_permissions.administrator:
await ctx.channel.send("Only admins are allowed to remove quotes!")
quotes: Optional[dict[str, List[str]]] = config_get("guild_access", guild=ctx.guild.id)