Skip to content

Commit

Permalink
fix(bot): use default value for max_spendable_freudpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibo-Ulens committed Mar 3, 2024
1 parent 7146748 commit 4627b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Config(Base, Model):
invalid_code_message = Column(Text, FetchedValue(), nullable=False)
already_verified_message = Column(Text, FetchedValue(), nullable=False)
welcome_message = Column(Text, FetchedValue(), nullable=False)
max_spendable_freudpoints = Column(Integer, nullable=False)
max_spendable_freudpoints = Column(Integer, FetchedValue(), nullable=False)

def __repr__(self) -> str:
return f"Config(guild_id={self.guild_id}, verified_role={self.verified_role}, admin_role={self.admin_role}, logging_channel={self.logging_channel}, confession_approval_channel={self.confession_approval_channel}, confession_channel={self.confession_channel})"
Expand Down

0 comments on commit 4627b99

Please sign in to comment.