fix(shard): 🐛 p.mod command not responding.
This commit is contained in:
@@ -51,7 +51,8 @@ class Admin(base.Cog):
|
|||||||
await user.set_cache(self.bot.redis)
|
await user.set_cache(self.bot.redis)
|
||||||
|
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
f"✅ Toggled the moderator role {'on' if user.is_moderator else 'off'} for {user.mention}."
|
f"✅ Toggled the moderator role {'on' if user.is_moderator else 'off'} for <@{user.id}>.",
|
||||||
|
allowed_mentions=discord.AllowedMentions(users=False)
|
||||||
)
|
)
|
||||||
|
|
||||||
@commands.command(aliases=["b"])
|
@commands.command(aliases=["b"])
|
||||||
|
|||||||
Reference in New Issue
Block a user