diff --git a/.env b/.env deleted file mode 100644 index b0d98a2..0000000 --- a/.env +++ /dev/null @@ -1,16 +0,0 @@ -DISCORD_TOKEN=MTUxMDk1OTgxNDYyMzEwNTA0NA.GNY7A9.Boq4MruKRqvo1UZ5JmsCkYN7q1xCTNKuqyh1oA -POLL_CHANNEL_ID=1511006387293917355 -RESULTS_CHANNEL_ID=1511006410627088544 -SCORE_CHANNEL_ID=1511006435079884991 -CLIENT_ID=1510959814623105044 -GUILD_ID=1511006171681652858 -EPHEMERAL_DELETE_MS=0 -POLL_EPHEMERAL_ENABLED=false # voting messages (disabled during testing) -COMMAND_EPHEMERAL_ENABLED=true # command outputs (always on) -AUTO_VOTE_ON_CONFLICT_SWITCH=true -IMPERSONATE_RESET_ON_POLL=false -IMPERSONATE_INDICATOR=true -RECLAIM_NOTIFY_BORROWER=true - -# Emoji upload servers -EMOJI_DONOR_GUILDS=1511903882224336926,1511904145810915449 \ No newline at end of file diff --git a/data/accounts.json b/data/accounts.json deleted file mode 100644 index 0967ef4..0000000 --- a/data/accounts.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/data/bringer.json b/data/bringer.json deleted file mode 100644 index eb1e969..0000000 --- a/data/bringer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "currentWeek": "", - "capella": null, - "procyon": null -} diff --git a/data/characters.json b/data/characters.json deleted file mode 100644 index 9357e9b..0000000 --- a/data/characters.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "flash": { - "characters": [ - { - "name": "«Flash»", - "class": "FB", - "level": 79, - "nation": "Procyon", - "active": false, - "sharedWith": [ - "invicjusz" - ] - }, - { - "name": "»Flash«", - "class": "WI", - "level": 79, - "nation": "Procyon", - "active": true, - "sharedWith": [ - "invicjusz" - ] - } - ] - }, - "zephyr": { - "characters": [ - { - "name": "XefronYokuda", - "class": "FA", - "level": 79, - "nation": "Capella", - "active": true - } - ] - }, - "dey": { - "characters": [ - { - "name": "«Deystroyer»", - "class": "BL", - "level": 79, - "nation": "Capella", - "active": true, - "sharedWith": [ - "flash" - ] - } - ] - }, - "keira": { - "characters": [ - { - "name": "«Keira»", - "class": "WI", - "level": 79, - "nation": "Capella", - "active": true - } - ] - }, - "ayana": { - "characters": [ - { - "name": "«MonkeyHunter»", - "class": "DM", - "level": 79, - "nation": "Procyon", - "active": true - } - ] - }, - "invicjusz": { - "characters": [ - { - "name": "ElementalEnchant", - "class": "FB", - "level": 76, - "nation": "Procyon", - "active": true - } - ] - }, - "marin": { - "characters": [ - { - "name": "iMarieLaveau", - "class": "DM", - "level": 79, - "nation": "Capella", - "active": true - } - ] - }, - "sean": { - "characters": [ - { - "name": "»No.1«", - "class": "FB", - "level": 79, - "nation": "Capella", - "active": true - }, - { - "name": "«No.1»", - "class": "GL", - "level": 79, - "nation": "Capella", - "active": false - } - ] - } -} \ No newline at end of file diff --git a/data/config.json b/data/config.json deleted file mode 100644 index 5d6d184..0000000 --- a/data/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "showLevelInMessages": true, - "showClassInMessages": true -} \ No newline at end of file diff --git a/data/poll-state.json b/data/poll-state.json deleted file mode 100644 index 7700aba..0000000 --- a/data/poll-state.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "messageId": "1511906795667456040", - "slot": 20, - "yes": [ - [ - "164487045052497920", - { - "userKey": "flash", - "displayName": "flash", - "characterName": "»Flash«", - "characterClass": "WI", - "characterLevel": 79, - "characterNation": "Procyon", - "discordId": "164487045052497920", - "votedAt": "03:53", - "previousNoAt": "03:53", - "publicMessage": "Flash? Flash? Flash!!" - } - ] - ], - "no": [], - "locked": false, - "confirmed": null - } -] \ No newline at end of file diff --git a/data/tg-history/2026-06-01-00.json b/data/tg-history/2026-06-01-00.json deleted file mode 100644 index 8956b56..0000000 --- a/data/tg-history/2026-06-01-00.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "slot": 0, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "pts": 2000, - "submittedAt": "2026-06-01T03:22:25.475Z", - "slot": 0, - "date": "2026-06-01", - "submittedByOfficer": false - } - ] -} \ No newline at end of file diff --git a/data/tg-history/2026-06-01-02.json b/data/tg-history/2026-06-01-02.json deleted file mode 100644 index a8125e1..0000000 --- a/data/tg-history/2026-06-01-02.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "slot": 2, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "pts": 100, - "submittedAt": "2026-06-01T03:22:43.115Z", - "slot": 2, - "date": "2026-06-01", - "submittedByOfficer": false - } - ] -} \ No newline at end of file diff --git a/data/tg-history/2026-06-01-04.json b/data/tg-history/2026-06-01-04.json deleted file mode 100644 index 5d14a7b..0000000 --- a/data/tg-history/2026-06-01-04.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "slot": 4, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "pts": 100, - "submittedAt": "2026-06-01T03:22:48.373Z", - "slot": 4, - "date": "2026-06-01", - "submittedByOfficer": false - } - ] -} \ No newline at end of file diff --git a/data/tg-history/2026-06-01-06.json b/data/tg-history/2026-06-01-06.json deleted file mode 100644 index 5d474f7..0000000 --- a/data/tg-history/2026-06-01-06.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "slot": 6, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "pts": 100, - "submittedAt": "2026-06-01T03:22:54.521Z", - "slot": 6, - "date": "2026-06-01", - "submittedByOfficer": false - } - ] -} \ No newline at end of file diff --git a/data/tg-history/2026-06-01-08.json b/data/tg-history/2026-06-01-08.json deleted file mode 100644 index a73c62a..0000000 --- a/data/tg-history/2026-06-01-08.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "slot": 8, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "pts": 100, - "submittedAt": "2026-06-01T03:23:03.650Z", - "slot": 8, - "date": "2026-06-01", - "submittedByOfficer": false - } - ] -} \ No newline at end of file diff --git a/data/tg-history/2026-06-01-20.json b/data/tg-history/2026-06-01-20.json deleted file mode 100644 index 5f31433..0000000 --- a/data/tg-history/2026-06-01-20.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "slot": 20, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "invicjusz", - "characterName": "ElementalEnchant", - "class": "FB", - "nation": "Procyon", - "pts": 5000, - "submittedAt": "2026-06-01T03:19:12.073Z", - "slot": 20, - "date": "2026-06-01", - "submittedByOfficer": true - }, - { - "usermapKey": "flash", - "characterName": "«Flash»", - "class": "FB", - "nation": "Procyon", - "pts": 2000, - "submittedAt": "2026-06-01T22:07:39.907Z", - "slot": 20, - "date": "2026-06-01", - "submittedByOfficer": true - } - ] -} \ No newline at end of file diff --git a/data/tg-history/2026-06-01-22.json b/data/tg-history/2026-06-01-22.json deleted file mode 100644 index 746b79f..0000000 --- a/data/tg-history/2026-06-01-22.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "slot": 22, - "date": "2026-06-01", - "confirmed": false, - "nationKD": { - "source": "Procyon", - "capella": { - "k": 0, - "d": 0 - }, - "procyon": { - "k": 0, - "d": 0 - } - }, - "scores": [ - { - "usermapKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "pts": 1000, - "submittedAt": "2026-06-01T22:05:28.186Z", - "slot": 22, - "date": "2026-06-01", - "submittedByOfficer": false - } - ] -} \ No newline at end of file diff --git a/data/usermap.json b/data/usermap.json deleted file mode 100644 index ae57a72..0000000 --- a/data/usermap.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "nunoflashy": { - "file": "flash", - "aliases": ["Flash", "El Flasho"] - }, - "staki91": "dey", - "invicjusz": "invicjusz", - "mrsean.": "sean", - "ibenni": "ayana", - "zephyr_74135": "zephyr", - "eat.jim.sleep": "keira", - "mar1n1987": "marin" -} \ No newline at end of file diff --git a/data/wrank.json b/data/wrank.json deleted file mode 100644 index 40f9992..0000000 --- a/data/wrank.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "2026-W23": { - "weekKey": "2026-W23", - "entries": { - "capella": [ - { - "userKey": "zephyr", - "characterName": "XefronYokuda", - "class": "FA", - "nation": "Capella", - "weeklyPoints": 1415, - "tgCount": 2, - "currentRank": 4, - "previousRank": 3 - }, - { - "userKey": "dey", - "characterName": "«Deystroyer»", - "class": "BL", - "nation": "Capella", - "weeklyPoints": 3640, - "tgCount": 2, - "currentRank": 2, - "previousRank": 1 - }, - { - "userKey": "keira", - "characterName": "«Keira»", - "class": "WI", - "nation": "Capella", - "weeklyPoints": 4000, - "tgCount": 1, - "currentRank": 1, - "previousRank": 2 - }, - { - "userKey": "sean", - "characterName": "»No.1«", - "class": "FB", - "nation": "Capella", - "weeklyPoints": 1666, - "tgCount": 1, - "currentRank": 3 - } - ], - "procyon": [ - { - "userKey": "flash", - "characterName": "»Flash«", - "class": "WI", - "nation": "Procyon", - "weeklyPoints": 5179, - "tgCount": 7, - "currentRank": 1, - "previousRank": 2 - }, - { - "userKey": "invicjusz", - "characterName": "ElementalEnchant", - "class": "FB", - "nation": "Procyon", - "weeklyPoints": 2503, - "tgCount": 2, - "currentRank": 3, - "previousRank": 3 - }, - { - "userKey": "ayana", - "characterName": "«MonkeyHunter»", - "class": "DM", - "nation": "Procyon", - "weeklyPoints": 4741, - "tgCount": 2, - "currentRank": 2, - "previousRank": 1 - } - ] - }, - "scoreIndex": { - "flash": [ - "2026-06-01-20", - "2026-06-02-20" - ], - "invicjusz": [ - "2026-06-01-20", - "2026-06-02-20" - ], - "ayana": [ - "2026-06-01-20", - "2026-06-02-20" - ], - "zephyr": [ - "2026-06-01-20", - "2026-06-02-20" - ], - "dey": [ - "2026-06-01-20", - "2026-06-02-20" - ], - "keira": [ - "2026-06-02-20" - ], - "sean": [ - "2026-06-02-20" - ] - }, - "bringer": { - "capella": null, - "procyon": null, - "procyonOverride": "»Flash«", - "capellaOverride": "XefronYokuda" - } - } -} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 4417708..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,17 +0,0 @@ -services: - tg-bot-dev: - build: - context: /opt/docker/tg-bot-ts-dev - image: tg-bot-ts-dev:latest - container_name: tg-bot-ts-dev - restart: unless-stopped - env_file: - - /opt/docker/tg-bot-ts-dev/.env - volumes: - - /opt/docker/tg-bot-ts-dev/src:/app/src - - /opt/docker/tg-bot-ts-dev/data:/app/data - - /opt/docker/tg-bot-ts-dev/scripts:/app/scripts - - /opt/docker/tg-bot-ts-dev/messages:/app/messages - - /opt/docker/tg-bot-ts-dev/emoji-uploads:/app/emoji-uploads - - /opt/docker/tg-bot-ts-dev/tsconfig.json:/app/tsconfig.json - - /opt/docker/tg-bot-ts-dev/data/sessionPreferences.json:/app/data/sessionPreferences.json diff --git a/emoji-uploads/bl.png b/emoji-uploads/bl.png deleted file mode 100644 index ec5bff1..0000000 Binary files a/emoji-uploads/bl.png and /dev/null differ diff --git a/emoji-uploads/borrowed.png b/emoji-uploads/borrowed.png deleted file mode 100644 index 6139bcd..0000000 Binary files a/emoji-uploads/borrowed.png and /dev/null differ diff --git a/emoji-uploads/capella.png b/emoji-uploads/capella.png deleted file mode 100644 index dc4e72c..0000000 Binary files a/emoji-uploads/capella.png and /dev/null differ diff --git a/emoji-uploads/dm.png b/emoji-uploads/dm.png deleted file mode 100644 index c916547..0000000 Binary files a/emoji-uploads/dm.png and /dev/null differ diff --git a/emoji-uploads/fa.png b/emoji-uploads/fa.png deleted file mode 100644 index 3c710a0..0000000 Binary files a/emoji-uploads/fa.png and /dev/null differ diff --git a/emoji-uploads/fb.png b/emoji-uploads/fb.png deleted file mode 100644 index eb5f913..0000000 Binary files a/emoji-uploads/fb.png and /dev/null differ diff --git a/emoji-uploads/fg.png b/emoji-uploads/fg.png deleted file mode 100644 index 2f5bd0c..0000000 Binary files a/emoji-uploads/fg.png and /dev/null differ diff --git a/emoji-uploads/fs.png b/emoji-uploads/fs.png deleted file mode 100644 index e6ef96f..0000000 Binary files a/emoji-uploads/fs.png and /dev/null differ diff --git a/emoji-uploads/gl.png b/emoji-uploads/gl.png deleted file mode 100644 index 2c64ca6..0000000 Binary files a/emoji-uploads/gl.png and /dev/null differ diff --git a/emoji-uploads/kd.png b/emoji-uploads/kd.png deleted file mode 100644 index c3e3a27..0000000 Binary files a/emoji-uploads/kd.png and /dev/null differ diff --git a/emoji-uploads/luminous_bringer.png b/emoji-uploads/luminous_bringer.png deleted file mode 100644 index 9471257..0000000 Binary files a/emoji-uploads/luminous_bringer.png and /dev/null differ diff --git a/emoji-uploads/procyon.png b/emoji-uploads/procyon.png deleted file mode 100644 index 6352d87..0000000 Binary files a/emoji-uploads/procyon.png and /dev/null differ diff --git a/emoji-uploads/rank.png b/emoji-uploads/rank.png deleted file mode 100644 index cf2a530..0000000 Binary files a/emoji-uploads/rank.png and /dev/null differ diff --git a/emoji-uploads/score.png b/emoji-uploads/score.png deleted file mode 100644 index 58731b2..0000000 Binary files a/emoji-uploads/score.png and /dev/null differ diff --git a/emoji-uploads/storm_bringer.png b/emoji-uploads/storm_bringer.png deleted file mode 100644 index 335cbfe..0000000 Binary files a/emoji-uploads/storm_bringer.png and /dev/null differ diff --git a/emoji-uploads/wa.png b/emoji-uploads/wa.png deleted file mode 100644 index f74e45e..0000000 Binary files a/emoji-uploads/wa.png and /dev/null differ diff --git a/emoji-uploads/wi.png b/emoji-uploads/wi.png deleted file mode 100644 index 6b424ac..0000000 Binary files a/emoji-uploads/wi.png and /dev/null differ diff --git a/emoji-uploads/wrank_1.png b/emoji-uploads/wrank_1.png deleted file mode 100644 index 1b3acc6..0000000 Binary files a/emoji-uploads/wrank_1.png and /dev/null differ diff --git a/emoji-uploads/wrank_1_gold.png b/emoji-uploads/wrank_1_gold.png deleted file mode 100644 index ce060d4..0000000 Binary files a/emoji-uploads/wrank_1_gold.png and /dev/null differ diff --git a/emoji-uploads/wrank_2.png b/emoji-uploads/wrank_2.png deleted file mode 100644 index 0c7a413..0000000 Binary files a/emoji-uploads/wrank_2.png and /dev/null differ diff --git a/emoji-uploads/wrank_2_gold.png b/emoji-uploads/wrank_2_gold.png deleted file mode 100644 index 5a51605..0000000 Binary files a/emoji-uploads/wrank_2_gold.png and /dev/null differ diff --git a/emoji-uploads/wrank_3.png b/emoji-uploads/wrank_3.png deleted file mode 100644 index 40eb6f5..0000000 Binary files a/emoji-uploads/wrank_3.png and /dev/null differ diff --git a/emoji-uploads/wrank_3_gold.png b/emoji-uploads/wrank_3_gold.png deleted file mode 100644 index f71621f..0000000 Binary files a/emoji-uploads/wrank_3_gold.png and /dev/null differ diff --git a/emoji-uploads/wrank_4.png b/emoji-uploads/wrank_4.png deleted file mode 100644 index a5c9ccd..0000000 Binary files a/emoji-uploads/wrank_4.png and /dev/null differ diff --git a/emoji-uploads/wrank_4_gold.png b/emoji-uploads/wrank_4_gold.png deleted file mode 100644 index e8654cb..0000000 Binary files a/emoji-uploads/wrank_4_gold.png and /dev/null differ diff --git a/emoji-uploads/wrank_5.png b/emoji-uploads/wrank_5.png deleted file mode 100644 index c5504a5..0000000 Binary files a/emoji-uploads/wrank_5.png and /dev/null differ diff --git a/emoji-uploads/wrank_5_gold.png b/emoji-uploads/wrank_5_gold.png deleted file mode 100644 index af5e9ea..0000000 Binary files a/emoji-uploads/wrank_5_gold.png and /dev/null differ diff --git a/emoji-uploads/wrank_down.png b/emoji-uploads/wrank_down.png deleted file mode 100644 index e74e77b..0000000 Binary files a/emoji-uploads/wrank_down.png and /dev/null differ diff --git a/emoji-uploads/wrank_down_1.png b/emoji-uploads/wrank_down_1.png deleted file mode 100644 index 071343f..0000000 Binary files a/emoji-uploads/wrank_down_1.png and /dev/null differ diff --git a/emoji-uploads/wrank_down_2.png b/emoji-uploads/wrank_down_2.png deleted file mode 100644 index 8c99b29..0000000 Binary files a/emoji-uploads/wrank_down_2.png and /dev/null differ diff --git a/emoji-uploads/wrank_down_3.png b/emoji-uploads/wrank_down_3.png deleted file mode 100644 index 3898499..0000000 Binary files a/emoji-uploads/wrank_down_3.png and /dev/null differ diff --git a/emoji-uploads/wrank_down_4.png b/emoji-uploads/wrank_down_4.png deleted file mode 100644 index f911e52..0000000 Binary files a/emoji-uploads/wrank_down_4.png and /dev/null differ diff --git a/emoji-uploads/wrank_down_5.png b/emoji-uploads/wrank_down_5.png deleted file mode 100644 index 0a4d8f5..0000000 Binary files a/emoji-uploads/wrank_down_5.png and /dev/null differ diff --git a/emoji-uploads/wrank_up.png b/emoji-uploads/wrank_up.png deleted file mode 100644 index bf95c05..0000000 Binary files a/emoji-uploads/wrank_up.png and /dev/null differ diff --git a/emoji-uploads/wrank_up_1.png b/emoji-uploads/wrank_up_1.png deleted file mode 100644 index b8d1247..0000000 Binary files a/emoji-uploads/wrank_up_1.png and /dev/null differ diff --git a/emoji-uploads/wrank_up_2.png b/emoji-uploads/wrank_up_2.png deleted file mode 100644 index 441d61b..0000000 Binary files a/emoji-uploads/wrank_up_2.png and /dev/null differ diff --git a/emoji-uploads/wrank_up_3.png b/emoji-uploads/wrank_up_3.png deleted file mode 100644 index eaed3f7..0000000 Binary files a/emoji-uploads/wrank_up_3.png and /dev/null differ diff --git a/emoji-uploads/wrank_up_4.png b/emoji-uploads/wrank_up_4.png deleted file mode 100644 index 0a9d7e9..0000000 Binary files a/emoji-uploads/wrank_up_4.png and /dev/null differ diff --git a/emoji-uploads/wrank_up_5.png b/emoji-uploads/wrank_up_5.png deleted file mode 100644 index ccbb133..0000000 Binary files a/emoji-uploads/wrank_up_5.png and /dev/null differ