@commands.group(invoke_without_command=True)
@commands.is_owner()
async def profanity(self, ctx, mode: bool):
    'Disable or enable the profanity filter.\n        \n        Usage: `profanity enable` / `profanity disable` \n        '
    self.enabled = mode
    (await self.coll.update_one({'_id': 'config'}, {'$set': {'enabled': self.enabled}}, upsert=True))
    (await ctx.send((('Enabled' if mode else 'Disabled') + ' the profanity filter.')))
Disable or enable the profanity filter.

Usage: `profanity enable` / `profanity disable`
@commands.group(invoke_without_command=True)
@commands.is_owner()
async def profanity(self, ctx, mode: bool):
    'Disable or enable the profanity filter.\n        \n        Usage: `profanity enable` / `profanity disable` \n        '
    self.enabled = mode
    (await self.coll.update_one({'_id': 'config'}, {'$set': {'enabled': self.enabled}}, upsert=True))
    (await ctx.send((('Enabled' if mode else 'Disabled') + ' the profanity filter.')))