fix(moderation): fixed incorrect string

This commit is contained in:
Seaswimmer 2023-12-15 14:08:16 -05:00
parent bfad13a40c
commit 0f16b0eee9
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1531,7 +1531,7 @@ class Moderation(commands.Cog):
async def moderationset_permissions(self, ctx: commands.Context):
"""Toggle whether the bot will check for discord permissions."""
await self.config.guild(ctx.guild).use_discord_permissions.set(not await self.config.guild(ctx.guild).use_discord_permissions())
await ctx.send(f"DM users setting set to {await self.config.guild(ctx.guild).use_discord_permissions()}")
await ctx.send(f"Use Discord Permissions setting set to {await self.config.guild(ctx.guild).use_discord_permissions()}")
@moderationset.command(name="logchannel")
@checks.admin()