Skip to content

Commit

Permalink
Added typing to command_utils.py (#194)
Browse files Browse the repository at this point in the history
* Added typing to command_utils.py

* command_utils no longer needed due to interactions

* Moved react emojis into holidays.py

* Formatting
  • Loading branch information
49Indium authored Mar 7, 2024
1 parent ce8fd88 commit 0c38624
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 33 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ exclude = [
"**/starboard.py",
"**/uptime.py",
"**/working_on.py",
"**/utils/command_utils.py",
"**/utils/snailrace_utils.py",
]

11 changes: 10 additions & 1 deletion uqcsbot/holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,21 @@
from zoneinfo import ZoneInfo

from uqcsbot.bot import UQCSBot
from uqcsbot.utils.command_utils import HYPE_REACTS

HOLIDAY_URL = "https://www.timeanddate.com/holidays/fun/"
HOLIDAY_CSV_PATH = "uqcsbot/static/geek_holidays.csv"
HOLIDAY_MESSAGE = "Today is {}!"
GENERAL_CHANNEL = "general"
HYPE_REACTS = [
"blahaj",
"blobhajHeart",
"realheart",
"blobhajInnocent",
"keen",
"bigsippin",
"pog_of_greed",
"blobhajHearts",
]


class Holiday:
Expand Down
31 changes: 0 additions & 31 deletions uqcsbot/utils/command_utils.py

This file was deleted.

0 comments on commit 0c38624

Please sign in to comment.