Skip to content

Commit

Permalink
Increase cooldown for bot info messages
Browse files Browse the repository at this point in the history
As the bots get still mentioned quite frequently in the lobby,
this increases their cooldown time for info messages from 2 minutes to
15 minutes, to reduce the amount of messages they post.
  • Loading branch information
Dunedan committed Dec 14, 2024
1 parent b44debf commit e69febd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xpartamupp/echelon.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

# Number of seconds to not respond to mentions after having responded
# to a mention.
INFO_MSG_COOLDOWN_SECONDS = 120
INFO_MSG_COOLDOWN_SECONDS = 15 * 60

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion xpartamupp/modbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

# Number of seconds to not respond to mentions after having responded
# to a mention.
INFO_MSG_COOLDOWN_SECONDS = 120
INFO_MSG_COOLDOWN_SECONDS = 15 * 60

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion xpartamupp/xpartamupp.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# Number of seconds to not respond to mentions after having responded
# to a mention.
INFO_MSG_COOLDOWN_SECONDS = 120
INFO_MSG_COOLDOWN_SECONDS = 15 * 60

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit e69febd

Please sign in to comment.