Skip to content

Commit

Permalink
Fix ping error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsbirb committed Mar 2, 2024
1 parent 9791e5d commit 13821ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cogs/Configuration/Configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ async def config(self, ctx):
@config.error
async def permissionerror(self, ctx, error):
if isinstance(error, commands.MissingPermissions):
await ctx.send(f"{no} **{ctx.author.display_name}**, you don't have permission to configure this server.\n<:Arrow:1115743130461933599>**Required:** ``Administrator``")
await ctx.send(f"{no} **{ctx.author.display_name}**, you don't have permission to configure this server.\n<:Arrow:1115743130461933599>**Required:** ``Administrator``", allowed_mentions=discord.AllowedMentions.none())

async def refreshembed(interaction):
staffroleresult = scollection.find_one({'guild_id': interaction.guild.id})
Expand Down

0 comments on commit 13821ef

Please sign in to comment.