3 Commits
Author SHA1 Message Date
Future da5aecc342 chore: update this 2026-09-09 17:14:57 +02:00
Future 6565993e7f feat: update this method 2026-09-04 17:36:09 +02:00
Future 6586d899cc feat: remove these games 2026-09-04 17:33:16 +02:00
2 changed files with 9 additions and 5 deletions

No files matched your search

+9 -3
View File
@@ -25,9 +25,15 @@ SPAM_ROLE_ID = 1350511935677927514
ADMIN_ROLE_ID = 1112364483915042908
GROK_ROLE_ID = 1362837967919386916
MW2_CHANNEL = 1145458108190163014
MW3_CHANNEL = 1145459504436220014
GHOST_CHANNEL_ID = 1145469106133401682
AW_CHANNEL_ID = 1145469136919613551
DEPRECATED_SUPPORT_CHANNELS = [GHOST_CHANNEL_ID, AW_CHANNEL_ID]
DEPRECATED_SUPPORT_CHANNELS = [
AW_CHANNEL_ID,
MW2_CHANNEL,
MW3_CHANNEL,
]
deprecated_support_last_response_time = None
ALLOWED_CHANNELS = [
@@ -35,7 +41,7 @@ ALLOWED_CHANNELS = [
1119371841711112314, # vip-channel
1382808781032914975, # launcher-support
1180796301953212537, # bo3-support
1145459504436220014, # mw3-support
MW3_CHANNEL, # mw3-support
]
# Discord embed limits
@@ -110,7 +116,7 @@ async def handle_deprecated_support_channel(message):
now = aware_utcnow()
if (
deprecated_support_last_response_time is None
or now - deprecated_support_last_response_time >= timedelta(minutes=10)
or now - deprecated_support_last_response_time >= timedelta(minutes=180)
):
deprecated_support_last_response_time = now
await message.reply(
-2
View File
@@ -16,8 +16,6 @@ OFFTOPIC_CHANNEL = 1112048063448617142
SPAM_ROLE_ID = 1350511935677927514
COD_GAMES = {
10180: {"name": "Modern Warfare 2 (2009)", "channel": 1145458108190163014},
42680: {"name": "Modern Warfare 3 (2011)", "channel": 1145459504436220014},
311210: {"name": "Call of Duty: Black Ops 3", "channel": 1180796251529293844},
}