Skip to content

Commit afe3a27

Browse files
committed
Use str.lower for activity and status
1 parent a195016 commit afe3a27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/utility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ async def update(self, ctx):
410410

411411
@commands.command(aliases=['presence'])
412412
@checks.has_permissions(administrator=True)
413-
async def activity(self, ctx, activity_type: str, *, message: str = ''):
413+
async def activity(self, ctx, activity_type: str.lower, *, message: str = ''):
414414
"""
415415
Set a custom activity for the bot.
416416
@@ -463,7 +463,7 @@ async def activity(self, ctx, activity_type: str, *, message: str = ''):
463463

464464
@commands.command()
465465
@checks.has_permissions(administrator=True)
466-
async def status(self, ctx, *, status_type: str):
466+
async def status(self, ctx, *, status_type: str.lower):
467467
"""
468468
Set a custom status for the bot.
469469

0 commit comments

Comments
 (0)