Skip to content

Commit

Permalink
Merge pull request #63 from Code4GovTech/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
KDwevedi authored Mar 20, 2024
2 parents 4545127 + 4c41db0 commit b7b152a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/listeners/role_events_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def on_guild_role_delete(self, role: discord.Role):
@commands.Cog.listener()
async def on_guild_role_update(self, before: discord.Role, after: discord.Role):
if after.name.startswith("College:"):
orgName = after.name[len("College:") :]
orgName = after.name[len("College: ") :]
SupabaseClient().addChapter(
roleId=after.id, orgName=orgName, type="COLLEGE"
)
Expand Down

0 comments on commit b7b152a

Please sign in to comment.