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

Commit

Permalink
Update mod.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TurnrDev authored Oct 16, 2023
1 parent 009b9ef commit 65703cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions trainerdex/discord_bot/modules/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ async def allowed_to_assign_roles(self, ctx: ApplicationContext) -> bool:
return bool(ctx.author.guild_permissions.manage_roles)

def allowed_to_create_profiles(self) -> bool:
# return datetime.utcnow() < SHUTDOWN_DATE
return True
return datetime.utcnow() < SHUTDOWN_DATE

def compare_stats(self, x: Update, y: Mapping[str, int | Decimal | None], /) -> bool:
x_, y_ = vars(x), deepcopy(y)
Expand Down

0 comments on commit 65703cf

Please sign in to comment.