Skip to content

Commit

Permalink
Add missing descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Feb 6, 2025
1 parent 930a93a commit 37219d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bridge_revolt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,8 @@ async def color(self, ctx, *, color=''):

@bridge.command()
async def nickname(self, ctx, *, nickname=''):
"""Sets a nickname. An empty provided nickname will reset it."""

if len(nickname) > 30:
return await ctx.send('Please keep your nickname within 30 characters.')
if len(nickname) == 0:
Expand Down Expand Up @@ -1543,6 +1545,8 @@ def check(message, user, _emoji_id):

@moderation.command(aliases=['find'])
async def identify(self, ctx):
"""Identifies the origin of a message."""

if (not ctx.author.get_permissions().kick_members and not ctx.author.get_permissions().ban_members and
not ctx.author.id in self.bot.moderators):
return
Expand Down

0 comments on commit 37219d5

Please sign in to comment.