Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
add title() (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Kevin authored Jul 8, 2021
1 parent 1a2a8ad commit 04642b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Deployment/rebecca_discord_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ async def on_message(self, message):
# Check if unit exists
if check_unit_validity(unit_name):
# Check if role exists, and add/remove if approriate
# unit_name_index = unit_name.capitalize()
unit_name_index = unit_name
unit_name_index = unit_name.title()
# unit_name_index = unit_name
role = discord.utils.get(member.guild.roles, name=f"Team {unit_name_index}")
if (role):
## Add role to user if they did not have role
Expand Down

0 comments on commit 04642b8

Please sign in to comment.