From 50a258b4a516e75a306f64de3f5ecdd2908f3488 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Mon, 2 Sep 2024 22:34:31 -0400 Subject: [PATCH] V1 of logogram-bot --- .vscode/settings.json | 24 ++ README.md | 28 +- config.example.ts | 23 ++ deno.json | 31 ++ deno.lock | 541 +++++++++++++++++++++++++ deps.ts | 12 + flags.ts | 6 + logogram.rc | 20 + logogram.service | 14 + mod.ts | 191 +++++++++ src/constantCmds.ts | 58 +++ src/data.ts | 760 ++++++++++++++++++++++++++++++++++++ src/generateActionEmbeds.ts | 73 ++++ src/types.d.ts | 12 + src/utils.ts | 37 ++ start.command | 1 + 16 files changed, 1830 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json create mode 100755 config.example.ts create mode 100755 deno.json create mode 100644 deno.lock create mode 100644 deps.ts create mode 100755 flags.ts create mode 100755 logogram.rc create mode 100755 logogram.service create mode 100755 mod.ts create mode 100755 src/constantCmds.ts create mode 100644 src/data.ts create mode 100644 src/generateActionEmbeds.ts create mode 100644 src/types.d.ts create mode 100644 src/utils.ts create mode 100755 start.command diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..17cc0f5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,24 @@ +{ + "cSpell.words": [ + "Aetherial", + "Aetherweaver", + "Backstep", + "Breathtaker", + "debuff", + "Discordeno", + "Esuna", + "Featherfoot", + "FFXIV", + "Fiendhunter", + "magia", + "Mnemes", + "Platebearer", + "Regen", + "Stoneskin", + "unaspected", + "weaponskill", + "weaponskills", + "yalm", + "yalms" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 3069ba8..8339d73 100644 --- a/README.md +++ b/README.md @@ -1 +1,27 @@ -# Logogram Discord Bot - A FFXIV Eureka Utility Bot | V0.0.0 - 2025/09/02 \ No newline at end of file +# Logogram Discord Bot - A FFXIV Eureka Utility Bot | V1.0.0 - 2025/09/02 +A Discord bot for Eureka Logos Actions and their recipes. + +## Commands +- `help` or `h` or `?` + - Shows the help command +- `logograms` or `logogram` or `logos` or `logo` or `l` + - Searches for requested Logos Action + - Has two parameters for additional filtering: + - `-class=abbr` + - Filters to Logos Actions that can be used by the requested class + - Examples: `-class=healer`, `-class=drg` + - `-page=#` + - Use to view more search results +- `preset` or `p` + - Shows a pre-made list of actions for convenient viewing +- `info` or `i` + - Shows info about bot +- `version` or `v` + - Shows bot version + +## Data Sources +- https://ffxiv-eureka.com/ +- https://ffxiv.consolegameswiki.com/ + +## NOTICE: +FINAL FANTASY XIV SQUARE ENIX CO., LTD. FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd. All material used under license. diff --git a/config.example.ts b/config.example.ts new file mode 100755 index 0000000..de136aa --- /dev/null +++ b/config.example.ts @@ -0,0 +1,23 @@ +export const config = { + 'name': 'Logogram Bot', // Name of the bot + 'version': '1.0.0', // Version of the bot + 'token': 'the_bot_token', // Discord API Token for this bot + 'localToken': 'local_testing_token', // Discord API Token for a secondary OPTIONAL testing bot, THIS MUST BE DIFFERENT FROM "token" + 'prefix': 'l!', // Prefix for all commands + 'logChannel': 0n, // Discord channel ID where the bot should put startup messages and other error messages needed + 'reportChannel': 0n, // Discord channel ID where reports will be sent when using the built-in report command + 'devServer': 0n, // Discord guild ID where testing of indev features/commands will be handled, used in conjunction with the DEVMODE bool in mod.ts + 'owner': 0n, // Discord user ID of the bot admin + 'imageUrl': '', // Base URL for logos action images + 'resultsPerPage': 5, // Results to show on each page + 'mneme': { // Emojis for the mnemes + 'blue': '', + 'cyan': '', + 'green': '', + 'purple': '', + 'red': '', + 'yellow': '', + }, +}; + +export default config; diff --git a/deno.json b/deno.json new file mode 100755 index 0000000..d53d386 --- /dev/null +++ b/deno.json @@ -0,0 +1,31 @@ +{ + "compilerOptions": { + "allowJs": true, + "lib": ["deno.worker"], + "strict": true + }, + "lint": { + "files": { + "include": ["src/", "db/", "mod.ts", "deps.ts", "config.ts", "config.example.ts"], + "exclude": [] + }, + "rules": { + "tags": ["recommended"], + "include": ["ban-untagged-todo"], + "exclude": [] + } + }, + "fmt": { + "files": { + "include": ["src/", "db/", "mod.ts", "deps.ts", "config.ts", "config.example.ts"], + "exclude": [] + }, + "options": { + "useTabs": true, + "lineWidth": 200, + "indentWidth": 2, + "singleQuote": true, + "proseWrap": "preserve" + } + } +} \ No newline at end of file diff --git a/deno.lock b/deno.lock new file mode 100644 index 0000000..63a158e --- /dev/null +++ b/deno.lock @@ -0,0 +1,541 @@ +{ + "version": "3", + "remote": { + "https://deno.land/std@0.99.0/encoding/base64.ts": "eecae390f1f1d1cae6f6c6d732ede5276bf4b9cd29b1d281678c054dc5cc009e", + "https://deno.land/x/discordeno@12.0.1/mod.ts": "9c4187b459f479e23a77b0e7f0e24507a10729c7865b5c18113e79b1fbf0effa", + "https://deno.land/x/discordeno@12.0.1/src/bot.ts": "e6e6599f7b6682bfd02c1f9a5d7ebb9f09dd7a0185629f016f3d7b537890c03f", + "https://deno.land/x/discordeno@12.0.1/src/cache.ts": "66e797d36ace1eda8a55a92469b94ba107046f597bda91c44d917b1593d8bb19", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/CHANNEL_CREATE.ts": "fec8d87f88da7e590ed5e97212b7d9162e1e86b6cdb3f3acdb6035c15f9c6b8e", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/CHANNEL_DELETE.ts": "8f847b5b283594dc7787e6e4d3e3c2fef2bae371738a6750e4474f09c4f0c285", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/CHANNEL_PINS_UPDATE.ts": "0d7e9a5b366c606f9fe3902d73c3b09b109db1db8bc2739cb1fc79253316321f", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/CHANNEL_UPDATE.ts": "3bcace4468fd9ff669b17971f2f886eef7916c32343c428dc36b42ae92a958bc", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/STAGE_INSTANCE_CREATE.ts": "6c5d120242cbc9f2e235388ba4daab079f1b74b8bb703d8afb3e9c1335f91d26", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/STAGE_INSTANCE_DELETE.ts": "78c4aaeb943073b62bda4104dfcf1f7ca602c7cb31790d81edb4ee20c4f1e488", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/STAGE_INSTANCE_UPDATE.ts": "5b7ac722bc4fe7f1b6ac564c1449775fb7fb1161bef7c5def4b4584bcffec87d", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/THREAD_CREATE.ts": "9b94fb4e4ca33b5d324cbda3f2015a1b103318c0f6946a5cdf1bfcf1c95e5061", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/THREAD_DELETE.ts": "070cea7c578316304bee8c01462b53a66ce9ab0b70e2785cd408118a5c70ad41", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/THREAD_LIST_SYNC.ts": "fba2fb864f41a52bdcf8d1dff33fdbe71da6a730b4320d394fef7bdb27f28225", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/THREAD_MEMBERS_UPDATE.ts": "1b1a43d3727810122d160388fbe2f4cadbbbad25d8305cfdc1e3900daf3ccde5", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/THREAD_MEMBER_UPDATE.ts": "940ccdb96ea63e3fbb48230cf7ae375daa6d0b2bc78c626bff25931d6cf3763f", + "https://deno.land/x/discordeno@12.0.1/src/handlers/channels/THREAD_UPDATE.ts": "bdd4e334d21a4ed67fa34b2cb085ce358c164ddfa7e449e5dbb21ce6c361e7df", + "https://deno.land/x/discordeno@12.0.1/src/handlers/commands/APPLICATION_COMMAND_CREATE.ts": "75fb3459d3604d02cbb55be23e3b4546256ae7d8ca1547a67b50ceefa476a818", + "https://deno.land/x/discordeno@12.0.1/src/handlers/commands/APPLICATION_COMMAND_DELETE.ts": "8d2510e86703bfbea9870b03965b0b7dc0e832253fb0a772c627ec99f5cafeca", + "https://deno.land/x/discordeno@12.0.1/src/handlers/commands/APPLICATION_COMMAND_UPDATE.ts": "2bf54489340ce4f0c474dadbc8e0bf05fc8a45a26b900e37e844eabcdc69bc73", + "https://deno.land/x/discordeno@12.0.1/src/handlers/emojis/GUILD_EMOJIS_UPDATE.ts": "39dec5a4466b68346956f6dfbc31976d3fdbac98d6c72cf5ad426fc42d6e31d7", + "https://deno.land/x/discordeno@12.0.1/src/handlers/guilds/GUILD_BAN_ADD.ts": "089000344218dc668990f860425c4c203a9e01ffa661e70bfa3a4567be2022f4", + "https://deno.land/x/discordeno@12.0.1/src/handlers/guilds/GUILD_BAN_REMOVE.ts": "ab6a1dcd14c03fcb1f5b4a2aa3ad6b6372d297d5672d369c29e3981df6407904", + "https://deno.land/x/discordeno@12.0.1/src/handlers/guilds/GUILD_CREATE.ts": "5ed4e59d9cc7f5bcf0ea2bc9a053afd41695f081bec1de00a2ff5b43eadb19d8", + "https://deno.land/x/discordeno@12.0.1/src/handlers/guilds/GUILD_DELETE.ts": "5305167a22cdcf8251f07bb9c2080fa9fde9bdca38b4730c952362fc9e309ae3", + "https://deno.land/x/discordeno@12.0.1/src/handlers/guilds/GUILD_INTEGRATIONS_UPDATE.ts": "e2d47d0a75183de2eb3294d0e153810f12a42bf7c3b6bf4817d486cdd41fc4ad", + "https://deno.land/x/discordeno@12.0.1/src/handlers/guilds/GUILD_UPDATE.ts": "4e157898729a5d7742fe2bde8b77498ef36f4926a0d3a63d232900bb2cd2cd42", + "https://deno.land/x/discordeno@12.0.1/src/handlers/integrations/INTEGRATION_CREATE.ts": "7a3afd2d12deb2a89e93fd72efc160455dc401e432baa75f5299b561d60c1f85", + "https://deno.land/x/discordeno@12.0.1/src/handlers/integrations/INTEGRATION_DELETE.ts": "e6a656f76b3ef037917eaaada601fd8a61c61fd9315bfb8458437d4c193d26f7", + "https://deno.land/x/discordeno@12.0.1/src/handlers/integrations/INTEGRATION_UPDATE.ts": "89dfc73b3b886711054bc88b208980e2e7186e12f1d352d7c0c1c48c077e4bb1", + "https://deno.land/x/discordeno@12.0.1/src/handlers/interactions/INTERACTION_CREATE.ts": "3d48b47da224a470bb7ae879711df921b768e43143007a3734f9c6746561cda8", + "https://deno.land/x/discordeno@12.0.1/src/handlers/invites/INVITE_CREATE.ts": "c51679f41f961e7869a30bf9fafa708b01524a99c1c7486f359f4302b86d84cb", + "https://deno.land/x/discordeno@12.0.1/src/handlers/members/GUILD_MEMBERS_CHUNK.ts": "c7c7bed2365caf30fdece1ae32ce7270a055ea4fb1694fcf460804b760fba408", + "https://deno.land/x/discordeno@12.0.1/src/handlers/members/GUILD_MEMBER_ADD.ts": "c4f9ac7c0f090332b56cf90053ce6cddae67b98754d6e6907f4125acc753aa9c", + "https://deno.land/x/discordeno@12.0.1/src/handlers/members/GUILD_MEMBER_REMOVE.ts": "f34e8f91627bea60cb3d023c1a550f6858e8eddc466746649c38b43b2bf23796", + "https://deno.land/x/discordeno@12.0.1/src/handlers/members/GUILD_MEMBER_UPDATE.ts": "48fb15630943a31c15a1a045431c6b3aaee05105101a02fe56d845ef18da2dec", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_CREATE.ts": "4437069dc5d8ceaf452ccffd866aafdf9e587afb4c9abab288df2b97f253b9cd", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_DELETE.ts": "da354383e44b14c4d244ec88b6ee393f534fea0d40dabbc6e490254f0dbae4cd", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_DELETE_BULK.ts": "a43060040ae5dcdc79a3f9463bf14cde8dd48a42a1d742e12a027cddc58c126c", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_REACTION_ADD.ts": "7c4abaf9ce52f6457f6bfb463b6ed566a04748da3b48fead9d20be3e4b8bf926", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_REACTION_REMOVE.ts": "dbf4a75010d5917548b6e5040deffc41d01abee2e8b7b9eebbd91ff4ef891f50", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_REACTION_REMOVE_ALL.ts": "b5b86d94c3817931ebf57faf97378b8a419bd2602ede8185c2ef2b93771679ca", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_REACTION_REMOVE_EMOJI.ts": "de08173125fa46bdf699ae281171e8b7c0ed7a74c6bf5c60be0aa4fdb4cdaa9f", + "https://deno.land/x/discordeno@12.0.1/src/handlers/messages/MESSAGE_UPDATE.ts": "3d2851365db5670765e7a003e9bbdc48e9358a228e703e2f47fa83b95aa94880", + "https://deno.land/x/discordeno@12.0.1/src/handlers/misc/PRESENCE_UPDATE.ts": "ebda9c759d838d8956821eef66ea31771504875b70f8d8d9d75593e31e01c69c", + "https://deno.land/x/discordeno@12.0.1/src/handlers/misc/READY.ts": "54489a1b8ba6acda0f9a28e9866ef2cd988907a53fed6fc440426f551c58b8c8", + "https://deno.land/x/discordeno@12.0.1/src/handlers/misc/TYPING_START.ts": "f07569cb512bc257b7c583645c46b5c2e9335047bff236a7aecb3216a535afd3", + "https://deno.land/x/discordeno@12.0.1/src/handlers/misc/USER_UPDATE.ts": "9c0c510373c3172459b3d2cfbb3932e42764f363fab1fcc298b17b05b9f994b5", + "https://deno.land/x/discordeno@12.0.1/src/handlers/mod.ts": "5ae55898810bc13551ad39320697617305ee86231bd2e860e1b9cd4f2c891248", + "https://deno.land/x/discordeno@12.0.1/src/handlers/roles/GUILD_ROLE_CREATE.ts": "aaecb932fb457a7cf4250b2ab009d6419cdf0a40329ed7b1b4246a41c4220736", + "https://deno.land/x/discordeno@12.0.1/src/handlers/roles/GUILD_ROLE_DELETE.ts": "69eebf63a3ee4e20dd7979e6f8e88a234b5c4f1f3c1d54563d2e55a56c6cfa19", + "https://deno.land/x/discordeno@12.0.1/src/handlers/roles/GUILD_ROLE_UPDATE.ts": "618858c94a002aefc109eb81c329ea6703acf974fa852db8769bcf8a52acb61f", + "https://deno.land/x/discordeno@12.0.1/src/handlers/voice/VOICE_SERVER_UPDATE.ts": "6e18af2344c424fff1e5e57da13ccb409a5017b9ae1384acca94d527c6dcf093", + "https://deno.land/x/discordeno@12.0.1/src/handlers/voice/VOICE_STATE_UPDATE.ts": "f158e0c276d0da4cd7bc644c9660991496916b4d8d588983e6e161a8a1099e35", + "https://deno.land/x/discordeno@12.0.1/src/handlers/webhooks/WEBHOOKS_UPDATE.ts": "1d71dd9c1d40b94cee07c77b1b60b1331b57ad7c197457127d39bfc03bb38c9e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/category_children.ts": "0fb31fdd539eb44f2e706705f223453f288fcd1ed2c6e633448f284c22e5eba7", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/channel_overwrite_has_permission.ts": "5822972c765624836d375a10e842fee1dfa961de9aab40202952f09b5eb57f63", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/clone_channel.ts": "f3eaf9adb9e2cb60069ef88f59318c6f8a8421c4af7d5def1d6f394ef3e750e4", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/create_channel.ts": "20bcec542db2b4cf0d6108397175aa5faff943869c03475484cdfd0c78ef6631", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/create_stage_instance.ts": "bb4a3085c9c6ee4b1e196d4e500cdbdafd79e45bdfd3dbdfcb5218bd29040125", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/delete_channel.ts": "a874f24796732fb1a6ee6bcb45c4d872ec91cd3f4e4149286eb7b333bf69fd77", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/delete_channel_overwrite.ts": "b4209e21e9e6151e689152ee647f71f24569350ae05329005ff44bc40671fd80", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/delete_stage_instance.ts": "fffc6a7ef5cfe845415d6900c603316b2b040033fbc5774a36ef041824e65eff", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/edit_channel.ts": "7e67a788911e945da4c7e69583b09d42b117fe7c6b3a7a7b83654c36b5b03db9", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/edit_channel_overwrite.ts": "7d2f4211e5c7e7cc922fd275ed02ce89862a42805119969ced62e0365bd68c17", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/follow_channel.ts": "7f026a98c2abe9859187c97667d6d1bcb2362db77f9d7fb1a9bd569666abb15e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/get_channel.ts": "3ef55b1bc144044a2b7f3dbb05f26022660f411a5dc97f2b8475febdcd109e34", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/get_channel_webhooks.ts": "ffc82d1c1458217740732e7192e3752df87f12a9b30460e18adce8fb21271fd9", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/get_channels.ts": "c13f60fedc9c061f1600cecf6b1dc6aaadad7914c08102ecbbc9732cef4660a2", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/get_pins.ts": "857541de1ac959616bf78b4c7d3b632f2c1979393f1d82a7445f68df57da94a0", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/get_stage_instance.ts": "1ec9530f228392fd34df7d84e7b51d01970c3a0c63929c96e86a3d658b3ac264", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/is_channel_synced.ts": "133146877efcf30a6d0ec22941598a9b79a88577b67e2bd6e5e08e09dc9f7b9e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/start_typing.ts": "66b038dd9719b96bfb7edc749792fc292eb7eddb31a29107b6c87ff3f8773eff", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/swap_channels.ts": "334bb7895b7d13b8391494fa5f54f04f8b4d63e07b5f71cb165440a1409efa0a", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/add_to_thread.ts": "3f1f03e17c3a5f51a62bb9ca57c3fb9216b883a7fd85550c44302e5d0c655ac2", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/archive_thread.ts": "8b897ee76ca157f13669bf88ac08f3c24a9ffd6ec2331bf0651a3b0da9d8d6b0", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/delete_thread.ts": "d0a1f20b39aa3997914314ef1f3d15b11dbba6017e07db316dfcbecbb37ef2c8", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/edit_thread.ts": "23fed3e7b9c074545f533dca625efd2edfafe3d3b5947d9545ced8803b85d85c", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/get_active_threads.ts": "b24a49abe8478a1205139326877f1a6e43e311df948af79d021099cf343431c9", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/get_archived_threads.ts": "eeac865293099f526821e92cd10a6d1c1f26ad48edaf9db64508ce2f10d90bc6", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/get_thread_members.ts": "19bf0cb9e8e965be89d17f178ed4060bd55aed369282eb132d7649e50ba55377", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/join_thread.ts": "de17812814fce15b8d0fcfb894daad0b314fc23190948d739f5e0741c4a2e2e7", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/leave_thread.ts": "9b836d29ebf6445858412e41b1f988bb5abea6102ce67720842d3028a45c8208", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/lock_thread.ts": "a57269bcbb690e3ac0f1334ed04541a2facee448a5a9d02c861fc0e5a5e10769", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/remove_thread_member.ts": "407d9a159454922cf0739af745b12a26bd231c5d2039e392480aa573287f48fe", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/start_private_thread.ts": "0819cd57f5cecdc78f6f2807ed9ba9b454a6dc90ec7f3942ee966b303b42c2cc", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/start_thread.ts": "1a779e446ff3c759aaffa718766c07884071bc4314bffa18f355d93874006697", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/unarchive_thread.ts": "4b009ecbbebe6c16e114871448f3bd0f8d310918277f2bd42f1ced9b9603c29b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/threads/unlock_thread.ts": "b501f253fcea7026615ba229a52f4aecb4bf8ca8612d9e7c51d099ea41ca5b75", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/update_stage_instance.ts": "12406d73065cf93ee504912e688098e463df9ee10aea834b99e15e79afeb0676", + "https://deno.land/x/discordeno@12.0.1/src/helpers/channels/update_voice_state.ts": "4cd4fefdcc87268697c3720b55408e382c16d9b2a55d939514418e6930377f6b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/discovery/add_discovery_subcategory.ts": "169489feecbe2c28c62d76795b2e16485e3d53790ab812c79351283ae2a829e1", + "https://deno.land/x/discordeno@12.0.1/src/helpers/discovery/edit_discovery.ts": "3b9f8de70580a44bc6f2adda67b51d76be021c10f53129f636bdc0f7a98ee5cc", + "https://deno.land/x/discordeno@12.0.1/src/helpers/discovery/get_discovery_categories.ts": "48ef7d7949253857e9885b05324dbb2f5d3fa1f1b8fae7754de1ef2141fdb0b1", + "https://deno.land/x/discordeno@12.0.1/src/helpers/discovery/remove_discovery_subcategory.ts": "db0a888310293f1873fa8efd21d9c19e9a6ad24ce40b2fbfaac74e60d3af137b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/discovery/valid_discovery_term.ts": "32893a940cc09ceeba02c874d985ba5022e9542083a5f138413b9ede9959816c", + "https://deno.land/x/discordeno@12.0.1/src/helpers/emojis/create_emoji.ts": "9ed9b494268ad448a86f02ae9dfd687d6447fd16e8805736dce04f87efbdbc0c", + "https://deno.land/x/discordeno@12.0.1/src/helpers/emojis/delete_emoji.ts": "7c6288ead0f9278c8aff367742d29595b1764608b738d92c7208b4591b96188f", + "https://deno.land/x/discordeno@12.0.1/src/helpers/emojis/edit_emoji.ts": "c98c84b9c39f2948603ddef352595334ed4dba8be635f9e4f4cc90c6f412fbb1", + "https://deno.land/x/discordeno@12.0.1/src/helpers/emojis/emoji_url.ts": "735c3643393c56e1e70095f0e85d04419ba590386361d2b946b221238e26bd92", + "https://deno.land/x/discordeno@12.0.1/src/helpers/emojis/get_emoji.ts": "6fdba22a4996821d8dc7ea6bafcde539446ca0c4d2d10d684a70e98d95631354", + "https://deno.land/x/discordeno@12.0.1/src/helpers/emojis/get_emojis.ts": "d452a40382ff6d574dd13dfef57b2a93b132591aa4c9c108cceb37565e4393f5", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/create_guild.ts": "5b70957ae4f54c35e010ff7911a1e25e10ae2319b0e7f5cbf687c6d1f6ceda1b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/delete_guild.ts": "e56fa70b8fcd058ec54cfba768c8d7a57ae9c0be162c9d0033a468fa3f2a3f47", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/edit_guild.ts": "b5e301618be4ede122c837fb23460b0c0d9d8f7999ae2590afed76879c7f5854", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/edit_welcome_screen.ts": "ca58ca7e93ba76c76130c044fb30913215838d3ac7b88015a65d8cb01a9e43cc", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/edit_widget.ts": "62f65cb43e0eeecd8d19f0f7fdd8d9d1bcd74fe247d8e3019e5729eb82776f0c", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_audit_logs.ts": "0e5d1ad3b1d885618917de31514f9b63fee656280e879036f60c9d79fd5119de", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_available_voice_regions.ts": "88c5fe74ff0a0f6d43c4a175e0f3a14ce36a4dc03364c09939cd8fdd7e694f8d", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_ban.ts": "0e3b11ae76d6f54544bbd6a5a7080440d6f54d77ab384a9b3129b5af1e843a54", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_bans.ts": "fa8c63ad187ded434114d9abeb700641f39a81d373686172b8f46579a3ab56b7", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_guild.ts": "8430056349e6f0bbf12b0af396a0a06e9255b981fef39cc2bc4eb4b651f08ceb", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_guild_preview.ts": "e9112fd138ab45960e6f231c5fc0b516db51b2a55afcb3dbe8f1f83d483b8cee", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_prune_count.ts": "3933aee627217101318feb87b1d8a98a8922de661d52ba746e576216bf50a378", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_vainty_url.ts": "17cf2c9779339ca24173156eae6abb1856bbab10891251e4d049863e134c0734", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_voice_regions.ts": "334992d26170f88c03de210ac518c4aae3686c2af0eca5b4a1d2b6e5025c9f24", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_welcome_screen.ts": "761cf61217fb39df6d67d85c3a95ed5cdf0092a3ae4a29ed602d2e9c9ce2ff2a", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_widget.ts": "c257afeb870524a55f61636904fa88deceb282e4bd607f8e3a49950cbc4f8ee5", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_widget_image_url.ts": "e6f5b3cac78ebc1e3185ae3468f85dd6ee382980d693db09aec2054955d65011", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/get_widget_settings.ts": "74d54e2b8122c0d69187efdf91f520a50ef44b737196b361d15786150352d646", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/guild_banner_url.ts": "b007011aafc5361634aa2a6e777a742d0e7b593525ff7bbd00c2eaa274349db1", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/guild_icon_url.ts": "141c06d69d6dcce5bb9db0f6b73f7f62df3c8cf35eaab04fd5ef334736af8de2", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/guild_splash_url.ts": "9e79c487e4823ce7d3581d81a27c5e9793880c22e5004d09a785623e4bab9499", + "https://deno.land/x/discordeno@12.0.1/src/helpers/guilds/leave_guild.ts": "45c49840acce6594f24f769b54c1a42347e42d667f5b7eb4c2afb8e2c401cafb", + "https://deno.land/x/discordeno@12.0.1/src/helpers/integrations/delete_integration.ts": "96f2b8ec2a19cb457918b200eeac5367264f87f1c6d1f1be961bc719711144e4", + "https://deno.land/x/discordeno@12.0.1/src/helpers/integrations/get_integrations.ts": "f66654d7fa9819795be333ce94e656527d6d1b5ffcdfe29fdc31141ae5b0fa4a", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/batch_edit_slash_command_permissions.ts": "35ca0659b9aabebe7dd66b2d8fb6cae0c548e8b472a567ac38be5ffce4dcf53f", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/create_slash_command.ts": "fbff47db4b6c92e5399a136580825b47985f9dad82124df607030f60bf1e6169", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/delete_slash_command.ts": "8547541f1268277baa87588ddaac1b2adef2701fe74a69e1d9f8d2ce4659163b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/delete_slash_response.ts": "60c68996279c34f9b7b8808c15e044889e10ce4c495b1816b1ae8eff9b37642e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/edit_slash_command_permissions.ts": "fb72c20ee87a36cb2f055ce5744932d920d431220f920808aaec9f49e6f08f14", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/edit_slash_response.ts": "d96e54cf48582c36fe902f3e010c2ca01c0db681dae35f7f6e0ca67a0a46a978", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/get_slash_command.ts": "84bd3ebf8caaf59bc14b0e6aead31c128e8661d4c35da1abc1b0ef7e1bac19e9", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/get_slash_command_permission.ts": "74cf4a456bb34578636b36d117fc335ad009198bd7f74f6a83e0033ee3cbd35f", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/get_slash_command_permissions.ts": "6fd06dfd2a780316e11d1f4adaaff35fc7272402bc9d76477bfbe3369f3b8a24", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/get_slash_commands.ts": "0e86834b2023d126910ca0e3b333e4d5ac4a4defd1364e042637794eb7964dca", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/upsert_slash_command.ts": "d9bc6a75bfe2474e6a161afa2169e026634c8025e212740e99b28e62929a23cf", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/commands/upsert_slash_commands.ts": "6611c9a9c9250a868418518b6573e8c064b04fd75368ac0f15e73b6bce4f7d5a", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/get_original_interaction_response.ts": "332f140a6b452de6beb7ea48aa09f95c13f1ecb509f896c72d9cfad491e6e1aa", + "https://deno.land/x/discordeno@12.0.1/src/helpers/interactions/send_interaction_response.ts": "4c4bf8d6d5162a9e0201f31f4df6752de55832a31c75531914754623b2f372cc", + "https://deno.land/x/discordeno@12.0.1/src/helpers/invites/create_invite.ts": "765eea67041f56541fb48632cf5d347868a5fd39a4f73d3fb37d1954c694613e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/invites/delete_invite.ts": "11698d3f83f58711193ca808d375cb65258ab7f0e16ae991c9f2a74316901fad", + "https://deno.land/x/discordeno@12.0.1/src/helpers/invites/get_channel_invites.ts": "7cf2f0e5e4da1aacd033fd6175328388a7e72b1a0267d499115021635fb09463", + "https://deno.land/x/discordeno@12.0.1/src/helpers/invites/get_invite.ts": "d22b11c29bcd5b25db1e1453db90f32657475df6fbbed39a8ed7fd559e428caf", + "https://deno.land/x/discordeno@12.0.1/src/helpers/invites/get_invites.ts": "f3cfbe95c70816ce16761e8c4e84efe9ca9552bc35d02f3c728173db5533d7ea", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/avatar_url.ts": "3dee52c11f4f8cd348a42739042d13df4d1fc42d68cf54d5f94d55bd83d462a9", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/ban_member.ts": "ae61b1e4344e9c3cf329f4e7dd9b681612ddfb1f83d4805164ef584bc9d0a43b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/disconnect_member.ts": "627793c1e96cb5d65e65af2fb63bef8ee85928a39aabca7e8ab3776b6af3b580", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/edit_bot_nickname.ts": "b3b52953f43a845d97933132002ba418c98084a1dbd547614c3a6680f58a3865", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/edit_member.ts": "2ba50dd60ff9d19090bd5c144012bef97e62269ff20a87cca807595ae6dd5547", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/fetch_members.ts": "58af09cd92f52787067950878eed03be9f0670f12962328160604bdf51939067", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/get_member.ts": "fd10f1b2cb47c5142e3b74705917b985e65d42ebce2e70080f8c03b0cf89eaf7", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/get_members.ts": "48ca56063d6e0e180a6eacda2ab62394ed8f6ba40175e9da45b25ec04273bbb7", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/kick_member.ts": "864aa3a236e2f41bbb9f6728cc00e1077e2a20fdefcba185c759d21a8de4ab43", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/move_member.ts": "b0d5c0a49c25f2f5496fe88d55e8afce8e060f5c4dc5d29ac311e48a2fc39018", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/prune_members.ts": "de6e140a57a4a539004527a8076ca1e46ec884810765199c182726b11b8b9e2d", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/send_direct_message.ts": "c925a8a8f89dc5e4dc87e26d3559645c563b1a4337b9a75fb587ee006691e556", + "https://deno.land/x/discordeno@12.0.1/src/helpers/members/unban_member.ts": "06e4ff90ca09add6aae2c60f458a0f9772a8705296ee028df5132dc28969102b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/add_reaction.ts": "5c3dddd8b353ecef9d2f9fb31fe3503b6ed1de79d50b2739acbe3db81de219bd", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/add_reactions.ts": "ee9e2ba5e7db0d4e9c9fa33b881342dad97420cede1a6b03cdc81e19e4071403", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/delete_message.ts": "3831e5cf8d73e4c40d770d1a5f717d6cf11cb128b352b672d3cd0bfb55d89994", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/delete_messages.ts": "fdaf1b176881e0a069224483c0b54ca3616137e9428c0d8e18e355a4b65cf884", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/edit_message.ts": "63f1d500fdddbca69dd677290ef439a58614f43365ef6745a0d1c260a498903e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/get_message.ts": "e5bf023bce011d7555db493d93e94fdc7f1afa7939bfbd4c9599b2377b74d114", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/get_messages.ts": "87ea81f5c4be6d2aabec159d955b16df4842f0f9c91e4810904cc3d517654565", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/get_reactions.ts": "a0f76748432b28d495fe8f0cfd5248c72c705fda433bc4da5bbc5e8ed2929f41", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/pin_message.ts": "028c996ab47a363a28226ce8b67e67e35d005f0cbef52ea882adf92e91329955", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/publish_message.ts": "102672b11320509d3838f8afa8c1d9d3ce9edc5d69e66205b2f24f40178ac8d8", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/remove_all_reactions.ts": "c28540d1195b48a20fd229b33f3d959b3b4d715037a7d4742d4c3c614c701c5b", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/remove_reaction.ts": "61a3a2f1da42f7bd9b82a351d77d7263a23dd04fab35905b1157ae669b1c2ee6", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/remove_reaction_emoji.ts": "8ef57f33a451787030ebb6af9b62a3d1f71571112d4c05b1e1d70358b48108c9", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/send_message.ts": "913e70ad461d6751b8d78f5a1d4c1d6b9c5c4b2204eeffce02f129375c82ea37", + "https://deno.land/x/discordeno@12.0.1/src/helpers/messages/unpin_message.ts": "95243713f747c12b75ce678d9af8e36fc90abd64e97c4aa9211ee71c21f93c13", + "https://deno.land/x/discordeno@12.0.1/src/helpers/misc/edit_bot_profile.ts": "02c09719e48bdc03d61797071f5bf1a2005be1e3b8515231b9f23f02b4a36dbb", + "https://deno.land/x/discordeno@12.0.1/src/helpers/misc/edit_bot_status.ts": "d5831a96857d99a229bb5bd07012f5d5edb8b8d6f3a6c6c817fe9c9ca237f360", + "https://deno.land/x/discordeno@12.0.1/src/helpers/misc/get_gateway_bot.ts": "605ac54a0131ea34b0025801227a75932a2f02674f2676327ccb7368abe7a86a", + "https://deno.land/x/discordeno@12.0.1/src/helpers/misc/get_user.ts": "7a0d89e781e3d844a378d9e9da495e1f102495ad79caaa42cf9a0e7f9daa1deb", + "https://deno.land/x/discordeno@12.0.1/src/helpers/mod.ts": "0907bd7da6a747d146c35c1b79805bcecd233836c55689b134cb7bd6f127ef83", + "https://deno.land/x/discordeno@12.0.1/src/helpers/oauth/get_application.ts": "a702482471f8c800979c27c0664e5eee5a0d2f1c35a2774c38badc0a7a2bae7a", + "https://deno.land/x/discordeno@12.0.1/src/helpers/roles/add_role.ts": "05e864036e4258bf3d7f9ef2f5a9d597b19c15fbe1c507dc628566b3cb2f8c75", + "https://deno.land/x/discordeno@12.0.1/src/helpers/roles/create_role.ts": "15254863165ec1f0c074d60b476dd158e7a0dd0f75b9673a069263bdc708fd43", + "https://deno.land/x/discordeno@12.0.1/src/helpers/roles/delete_role.ts": "2caa0642b1fa10df4adb07c8e14209b0ed5d99cea5836295777dfa9797944c9d", + "https://deno.land/x/discordeno@12.0.1/src/helpers/roles/edit_role.ts": "d7923baab2f6a523d699e3981c5fb940b6eca13e60a5af75fc0e8ff5c94dfa80", + "https://deno.land/x/discordeno@12.0.1/src/helpers/roles/get_roles.ts": "8ef3b45dc0f023f412ca082fd9c06ea60cfdebb04cdcb2dbf6cb7528f9fe1e1f", + "https://deno.land/x/discordeno@12.0.1/src/helpers/roles/remove_role.ts": "8644de72fbca1849b2213b12a1b85f2e605bf5ee261b6538901e02d0548f588c", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/create_guild_from_template.ts": "29d917f56fdda4c5dac0de3b81d7c2e4bed91747b6bafdc71e1fe87f70aedf01", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/create_guild_template.ts": "8a4055a9b5df992067861571b97faa6c6b7f5228251a06fdfee1511b0db5dbea", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/delete_guild_template.ts": "5d6f7d2530ba75eeaa2660b2d1baded98079fb41831cd2afd9eb3503bca7e488", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/edit_guild_template.ts": "6692ebccef9ed38de14f898fb2356f1e55073b5c17cf4f18971d9f7d7bbe9101", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/get_guild_templates.ts": "5ae82f165f0d564aba25e21b298e849f005d5b4859178fd62423ddb1fe0940f1", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/get_template.ts": "1791848df73e713f347a471614651fbd22ee88ba58010f731081bd1679224408", + "https://deno.land/x/discordeno@12.0.1/src/helpers/templates/sync_guild_template.ts": "d95d81a838d6005f9dc6ad72a380fc348b026856e6ea77e47e0955e5825e87b6", + "https://deno.land/x/discordeno@12.0.1/src/helpers/type_guards/is_button.ts": "7a0ddea4a26263f9e882dcbca8f3bfa034104edc9db6b12e237f5e0d435959bb", + "https://deno.land/x/discordeno@12.0.1/src/helpers/type_guards/is_select_menu.ts": "e706b8340d04f75e427396698f2d5c13a5dad112101d4811704aff5648a2069e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/type_guards/is_slash_command.ts": "97d065ba4ccebf4a6abffded9c111f0a7eb90a96c7253524c4092014a12f42ff", + "https://deno.land/x/discordeno@12.0.1/src/helpers/voice/connect_to_voice_channel.ts": "7a08c4d18fc695ace20d39db8eaf84c6bdb0f4215bbd98174b1bc7ed538aa7a1", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/create_webhook.ts": "b9d00409f4105808bd7803ff92c7a8c00968973a3bb1ea2955812d21ba41a403", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/delete_webhook.ts": "4eb549d5b00c4213abe78523bf03b77c2f94dd552abeaa0414dd970254f3a526", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/delete_webhook_message.ts": "bfc382da4f2713a425e584498c9d8bbf3dace96e8769759ccda58b6291cb399c", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/delete_webhook_with_token.ts": "eac6ba2e42b7ad72d908b69a3aff4ff72926357edbc054c733ddee480112b14f", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/edit_webhook.ts": "c6477c54ebf529788056f115e074710cc1c854b212351c4d21a8c857f2826d73", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/edit_webhook_message.ts": "b89fd5290a8b5f7d1ced488f721d4a0fa3ec80aacef2b569a41a54e0414ea8f2", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/edit_webhook_with_token.ts": "753c9c74d118fe70544b8b40c4a36b7cabd81ad5ef4a0f13617ab9b0fe54bdc2", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/get_webhook.ts": "5fb19856722706d460a4569adfa848dfba9137833224ded5519eefaa31da5fe5", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/get_webhook_message.ts": "50ea7e933e4e6359bdb9d9da20f326ed8d087ae4be04528dcdf1c5d0cf31672e", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/get_webhook_with_token.ts": "d223b13c74f67f676d58190a59221fed96cca6bcddfaa9f97f02e38bc7655aa5", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/get_webhooks.ts": "9faadcc66e6683d584fecc2bed15513c6e99c165e845066ac7be408d1d212569", + "https://deno.land/x/discordeno@12.0.1/src/helpers/webhooks/send_webhook.ts": "943a76a1776bcd30e2856b7888faa86a1b515a812c601a5bc049851a8e6bd5bf", + "https://deno.land/x/discordeno@12.0.1/src/rest/check_rate_limits.ts": "2b3074e044a95fccc8e85fa0385db2f1fd610fcb1163654cb0e777a1ba96bff7", + "https://deno.land/x/discordeno@12.0.1/src/rest/cleanup_queues.ts": "80b1db9af5db6630b2b043f5fc8db9657d92a82129ec6be8328d27572714c58d", + "https://deno.land/x/discordeno@12.0.1/src/rest/create_request_body.ts": "c71c4c14e4e38bc09b72df0ad11ab25bcf98619fab851b496bd1b3faa45cea61", + "https://deno.land/x/discordeno@12.0.1/src/rest/mod.ts": "fea5de6652d41d45d6fd5a0915bdd0ae78b680e92b35e7c4fc14f84f2ca7d7c8", + "https://deno.land/x/discordeno@12.0.1/src/rest/process_queue.ts": "c25be6b2cc2a14b94985bb8cc736d855a3c7da15b6755fdd000ad7a6b8712353", + "https://deno.land/x/discordeno@12.0.1/src/rest/process_rate_limited_paths.ts": "58b0d5060249556fd7703e16df16a3ce5f6e03f118d06519588b0c548a9e22fe", + "https://deno.land/x/discordeno@12.0.1/src/rest/process_request.ts": "367071166eeb1ecf4a0d170f7bf74f945b412c8012cfd09eb4da730b6aeab7d0", + "https://deno.land/x/discordeno@12.0.1/src/rest/process_request_headers.ts": "14a53f0f63eff1a473a5f9b0e737fd7ebcf268c081b537c407bc854b55422be2", + "https://deno.land/x/discordeno@12.0.1/src/rest/rest.ts": "1dd7ef78441e2d70a9c852e1324d000a05906e614bcd6834d35a6113976e7866", + "https://deno.land/x/discordeno@12.0.1/src/rest/run_method.ts": "3b2f778e21b9b5cf55f32b22a9b9a1556aa2636f54e7ea6b377f0e5f5db8d115", + "https://deno.land/x/discordeno@12.0.1/src/rest/simplify_url.ts": "a4348ba808cb3a80d4a9c6b5e1a0cb5572a61cbb9409b280d5d84ee9d1d85679", + "https://deno.land/x/discordeno@12.0.1/src/structures/channel.ts": "caa28ae30b9af52110614e46d521b345f6d25ca2102247344ee8fc2bb0739058", + "https://deno.land/x/discordeno@12.0.1/src/structures/guild.ts": "7a7f7f3a1829478e5c83d53a68ac4437c257c437ab0c6623815a9d6a951f7880", + "https://deno.land/x/discordeno@12.0.1/src/structures/member.ts": "5e08c642dc0913f8a181cb86526b3cced7e2623529d814b9c6d2ca4a8705c9d8", + "https://deno.land/x/discordeno@12.0.1/src/structures/message.ts": "bca3ee1269a6cf959b23a9a98622251bbc6b9297c074be5f11cddae76d8c9374", + "https://deno.land/x/discordeno@12.0.1/src/structures/mod.ts": "5b80755c8336d40bdef87a376ccc8ded6fad4d34e973ca257e10f3142c3c5dd0", + "https://deno.land/x/discordeno@12.0.1/src/structures/role.ts": "509ed6dfa484f2dfeca65e7fb251e8d3c79f76d4bbe5fe07d44a1cfd9d5e592f", + "https://deno.land/x/discordeno@12.0.1/src/structures/voice_state.ts": "9f0a7351ec8dbc85879149482b1be51c48c8ae6b0fcfc81296d6659cab560d0d", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity.ts": "7d34ddfc8a25f6cdc897ea0756b86346830aec1b1e66b696b73503e5c00db75d", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_assets.ts": "a8ad6474142762a5723f18b0f4c2f5086770d84343b8ce441b07e57926f62717", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_button.ts": "c7643944b5d695ad699937e5915a563a62fef4195ec0a5305d25cedfcd4a651d", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_emoji.ts": "7287e91f18aa4b9d936d9061445868a0070e8018fba57a8e43984c6df13da4d5", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_flags.ts": "23b96eb169832d16f607e952894ab0a010c879a924fb854c8948b7cd1f8e597d", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_party.ts": "660fc738165352dd67a7bf251d740b207c41ad208df97d1bc0a07d6c10125277", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_secrets.ts": "b185dc3a22cc0cb2e804648898e65c11886706378728ab0b2dcd008ae9711392", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_timestamps.ts": "57d62ce975a75af7fe7dd93e29b38abb56251b14618c4308132ca4808a2633f5", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/activity_types.ts": "282b9999c9da66e3ed55054532cc61419055810eeed5da2c9a23dc6f2b5b7e29", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/client_status.ts": "29df68543c1bb257d36ef28a5d6a0bf9285992068b588965e66f932fec66e36c", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/mod.ts": "71dfc42746756ba7b9000aa807af2ef8ba95b8665e9353ec0a10d3d69ad843fb", + "https://deno.land/x/discordeno@12.0.1/src/types/activity/presence_update.ts": "594dee9c8259d72f8d85e53cf40e10534c17a269bc81096460272d80b05c422e", + "https://deno.land/x/discordeno@12.0.1/src/types/applications/application.ts": "a0912a6e15aeeceaca6ddd8899ebad223fbb64f185843abb94d0dcd28fc767ba", + "https://deno.land/x/discordeno@12.0.1/src/types/applications/application_flags.ts": "f66b131a2a993542b9234f31a41a1f9dc4943edfb104487bea91337df81b6b15", + "https://deno.land/x/discordeno@12.0.1/src/types/applications/mod.ts": "86c8bfecb4e6b86b6ca3db67edcfbc69d041d4c1f0a1903f8c358b2f0f5f7798", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/audit_log.ts": "7429ed118f04206a2a9569c9b7f8c0b7284f84f44a1283287fa489fed18083a5", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/audit_log_change.ts": "8cddaeb5259f559ba0537bb7c4dd0513266ce50d4b2698ffcc0edf1c227bce53", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/audit_log_entry.ts": "d48c22916e75f7f516765ab601d7a0fbc34fb90b22cc989939d75841b06a72a6", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/audit_log_events.ts": "d00d7524a61064fc41bd5c0ff9f844d581558137d08969b75635854ea1239424", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/get_guild_audit_log.ts": "b83d2a874c8c0dcb818bb7db500fb0077dcd7332fc973b68a05951152dc5a86a", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/mod.ts": "c36386f4de474cac0401ea20834330f7a0df1bfd4c02a52db26ab9ebe799dcfa", + "https://deno.land/x/discordeno@12.0.1/src/types/audit_log/optional_audit_entry_info.ts": "d9df543a55bcb8966ceaa718250fa7d48b52c7e8d6f90da471ffbec4e4b90f59", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/channel.ts": "bba726d092188a98731321b73c4ba2f99cbd69c979b5266e3876c9c98e3e7333", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/channel_mention.ts": "b0f7bf18ac590cf83d4587f49b189e0b547f10b3b71b4af701ff0946671208ef", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/channel_pins_update.ts": "bc1cec14468a56e714bcf5b0c203572d3e30b8fde4e95838fc7ca91730aa751d", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/channel_types.ts": "a2ebf2c2bb84cc5d49ce398076ee068e13a5a00a4c624bdab7f3b19504f3704e", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/followed_channel.ts": "416745de34a86022f060f8041d2e396f50c7e065e78f32abf7c7c4bceb9dc2a3", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/mod.ts": "a016d83f6110abb77571187a879e16014b9ab4369a1287aff7c0d974e4da9909", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/modify_channel.ts": "f300ae9039327f670312276729e76c5b3f7ae8ba2ec532e02ad44023f9b52c12", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/overwrite.ts": "89b33391f5f9983b79ea1bf16a696e7a85d015f79956383b7bcab242112f2303", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/overwrite_types.ts": "9b4f40855fd6312f572d55259bbbc7aac01ac7193314c9df2c5691e874c14529", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/privacy_level.ts": "dc0802046b643efda6a5a4765b86c0c0cda34fd23be4ee23687d02b7b2d78b52", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/stage_instance.ts": "bfb6785506c807d20f0ed9798c9232e70af4e26236ae545789a51733118d3011", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/list_active_threads.ts": "5a6110b349c2a9dfe83d41f5bedd2724bf886e7a271ab868b4880c1f32b8cf6f", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/list_public_archived_threads.ts": "5557064faaf97fd0dd32d5c7aa283311207c7390cadb7e3dd4068769eaebe2ef", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/modify_thread.ts": "f7a73eb72c3dbf728fae57880a06437a1c8ce44e7d87a4513773f87f39630fe1", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/start_thread.ts": "69396fef03efd6e815d1beb01d50fff5a6043cb0a06a9f4ff082ac134ca29476", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/thread_list_sync.ts": "4e2dd6faf75daac0bbcd2404f950a82487340281959dff3cd0b4a2a1b6783f05", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/thread_member.ts": "451c25c7a62e1e69759437ae739c228eeec077c41ae8254ad55aebaf51e01ced", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/thread_members_update.ts": "69ab90c9ed33d69bf8aa6d2d3f269b83549c330b94f155a9c28fceb1bcf45716", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/threads/thread_metadata.ts": "ed472ebe61e1d79723ff1ece7d4e8b7eaa95ceed2f94ba77f60b34775445f2d3", + "https://deno.land/x/discordeno@12.0.1/src/types/channels/video_quality_modes.ts": "c11a4973d8b0f41bb0cb8c4e9565a80db9afdf8d3c682eecd0a9e5b882811c64", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/gateway_close_event_codes.ts": "d27dd7ef8984cd4094a14fe5cc1f30fc8cb723a526ed6c29d0693998173b9289", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/gateway_opcodes.ts": "eb488801d0f437db2d42852c650381b0f2671bb15a48e59debaa76a32e601ddb", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/http_response_codes.ts": "b9929169cfc6346f6eb19b6a73796fde04b33f246472b54e8738e47a5040148b", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/json_error_codes.ts": "601b5ec55329dfd433b48507a38009e89fdc5a95de6f5ffa6bbddfbba645dde6", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/mod.ts": "f9834bf16db285dae92edf3d07c586047165da9c317996774e697a076ce282b8", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/rpc_close_event_codes.ts": "8180e76199f03bcc0957057b8566ce16193a27b44146fd753272df35735f0370", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/rpc_error_codes.ts": "b87d01aa923f108074b8c5b07bb593aa9c8d237aec3b1892b75e0d0354bda7f9", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/voice_close_event_codes.ts": "6818e3842b3d5cbbbbc0c94f3e2991607a256d9a417c2588aadda4f18d64e80d", + "https://deno.land/x/discordeno@12.0.1/src/types/codes/voice_opcodes.ts": "013c29e3ee462ba0e64e06514a43d0ef54b289e1269e9ce091c0959de663c0b2", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/create_slash_command.ts": "5de59d5b75e2c6a57fa260f5ef8dfa657bc1e1bc93ff771e4c01c661c7b69344", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/debug_arg.ts": "3e9f547bc0b678c1358c395f4ed49683de40b85af064f8b0fd5761227851cc14", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/edit_webhook_message.ts": "45e0375cc986c94c7f77a8d3a0b8fe1557374ec83943cdafca5fe52aeef7cd24", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/errors.ts": "2614c86f6860b9e569657adec7f0541c9822e0be38df01f8c71cedd63a0aed72", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/event_handlers.ts": "4175f7bc193a5111de7de6e5d74fc43ff084d4113279907676f9f53c0481a03b", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/file_content.ts": "2931569529bfeeac82eb7a679b6f9f179a222708d8599b7b066b870213abbf08", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/guild_member.ts": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/guild_update_change.ts": "ce1bb0f144e3d463fd9642b7c8134489e1b1cc8e55650dd919040cb85c60051b", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/interaction_response.ts": "e715eb95ca793b40c4064397b954511403130c6fc006559bfb2d3076c7d6062a", + "https://deno.land/x/discordeno@12.0.1/src/types/discordeno/mod.ts": "a0cce1a613a3f922ae8c2a6acfff482ee7b80557842d2d1c2c817209168013bd", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/add_guild_discovery_subcategory.ts": "b0edda1c3398d35099adf71ebf7c521bea8c0ffd44ecb4e9389f53024ee09bec", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/discovery_category.ts": "ae4fe9210bc495ccff1c227af097cb6a729e92c6b4d867f1ec51c71a3416b0f5", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/discovery_metadata.ts": "fed5d2337581204e5f7e9858f43ed0cae70f209bee43e2898f24c243732f1151", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/discovery_name.ts": "830761102dc603a82b58912d642abed965f2f46c96498646783b8594b592a1ca", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/mod.ts": "5239cb22070b6a149e8053486d5609fd75111c32c2b8301d3270d3912e66f214", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/modify_guild_discovery_metadata.ts": "2d565323109179f9dfbbc5f95d530b66aa868c6730d52f6973e7b999e47a8881", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/validate_discovery_search_term.ts": "3399ac74193a8693fa93215c5b3cdcecf3833fc0f6c2fdecfe490a31a4f39454", + "https://deno.land/x/discordeno@12.0.1/src/types/discovery/validate_discovery_search_term_params.ts": "6f9c2bebd75c0d02f5e1f0c41fdcfcba2fe137671a24f3669d721278f6c97b63", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed.ts": "2245fa9fe3b5be80cdebf0dfb64bd9987b024821a27a96e7b5eb6e172c551ae7", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_author.ts": "abe9d10e39b07998119b08486c1d6365bcdb001ba8a495e6e715c41b05454ff2", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_field.ts": "4b3d50a51f33459abe5cf1d84028e49e8f5cd8f53c7daddda634b11bc11a546b", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_footer.ts": "c70d2ee9fc5f386946bfca8d8e5cdf7609e210f818a9e1c4c67b49366a23b40e", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_image.ts": "450db6360abc614a7e0edae6fd43f2bd13b4423c8acf619e47e5e25af5f48e8d", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_provider.ts": "916f675f139ed08d394ff0ff133ab5964aa55362c1315f44d5e16ce80534801b", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_thumbnail.ts": "5daf8217e6c4f58af1a042d48d35d17683714e8ce6e3d95d6b9bde5643d28c02", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_types.ts": "84dfb33b9be7ea713b5a68b347cbf09e4f3f7335a74a1ba53febd97fa890c31d", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/embed_video.ts": "b2608d208249fe39b5a0b4f79053a827c380541271a96d48b0fe25954f2f2656", + "https://deno.land/x/discordeno@12.0.1/src/types/embeds/mod.ts": "6f843bd4b1a08f2dbc38d88866d01c3f9acb3d5dc7acb06be54ee0fe484712c1", + "https://deno.land/x/discordeno@12.0.1/src/types/emojis/create_guild_emoji.ts": "1f746dcf5e00483a891ef6e25736bf57e506083867a16c90ac41357352b85518", + "https://deno.land/x/discordeno@12.0.1/src/types/emojis/emoji.ts": "816fee9d303e87d3e8021411119888605e9bc40969e50bed76592f97dbf6ab66", + "https://deno.land/x/discordeno@12.0.1/src/types/emojis/guild_emojis_update.ts": "40dac4e55b8ead25aa6bbccec02cdb83c7207ffe076f1678888e1b4093db0ac0", + "https://deno.land/x/discordeno@12.0.1/src/types/emojis/mod.ts": "90df31a90a51a7b618fa6b2a1c34a740d6ec85a40b4468165439dc14fcef744b", + "https://deno.land/x/discordeno@12.0.1/src/types/emojis/modify_guild_emoji.ts": "bc2751feb17c2312bb0374523c44d52530256f1f9688270bbfa9435350d5849a", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/gateway_intents.ts": "3a4b00bc646f190ef2f67877b415150a87f5881ccbfc50877742c151b3ce822f", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/gateway_payload.ts": "112ed8d384debe78712eedba4b28d0af5fcc7ba148ee513d60f2825df9308802", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/gateway_url_params.ts": "5b7c1856e40b30c77eab74469712a71f0d8681f7219b0a04c469e05e9407d021", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/get_gateway_bot.ts": "3aa13ea2be2ed7ef9fccf444ab02b7915d13eab16ccf6531f612f34b6cd8bd07", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/hello.ts": "2ef6d751aec82fd5b3038b1b52e6bcb7513e79d24ef4d88b1a40992962fcf3bb", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/identify.ts": "c5d35c10f0937107ff5d278a3fad9978d2be2e77a0ca9cd0d6e05baf77af7909", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/identify_connection_properties.ts": "4241f2cc6e232c43ed02df4372dab925d3726a4d0a9e6b68db5aa75b8a77d64e", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/mod.ts": "b1fae244819a0805e8be9ec9aebd0c296573a98455d052e65025d88dc9f18c34", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/ready.ts": "c8bbc0f85ff571611725d52cbdf85d729f212756879e9dd6e94ff0e43a9f84dc", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/resume.ts": "2cfa1ee13ee921457a3b98b1f0a062db85cbd2f489ad795bc75f31bd071cc109", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/session_start_limit.ts": "910e0ec21753a6f29c6ea0505bc8471d0a6094c28baf7717ddf98743855dad89", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/status_types.ts": "49c689add16773ca7ccc7fe943d9fbaee82bb65ac717ff1cf6ef760befbad51c", + "https://deno.land/x/discordeno@12.0.1/src/types/gateway/status_update.ts": "14a3154743691211509db934b48be742a79f8fd72ea519427d2614b41749bee0", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/ban.ts": "ccfdb4af12838bc026410a39381bece7ee04853282f0c1a382344afd22827a91", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/begin_guild_prune.ts": "c8c9214fcbc520b13bcdccdb02b30e7d46aad478f6807aa8059b6ca43058785b", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/create_guild.ts": "fb38d21e0f01386750119052bb40a56d33db0daf55d12d272d0863be8ba465b2", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/create_guild_ban.ts": "61864ac8b829bae7c32445bbe7bd393d9592d0bf9fb7eca21218e3574f0beea7", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/create_guild_channel.ts": "3b4d0779209075eaa3d9c3fa77fc047427cae8b791b1027291678e3334cd2b24", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/create_guild_role.ts": "caf03c3222f4191c23689f4a307967815501e64651a61f0bc56a0abb752d396d", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/default_message_notification_levels.ts": "2b5157428c451aec689a450bb9a79995b1c3276cde520e10fc79e0aff2aefe1b", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/explicit_content_filter_levels.ts": "929cf4cb47e1c8a6e855c2d2ad801d6f97ac4abf7f0a89af17f3b4f0cbc6352e", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/get_guild.ts": "188e6988722482043f827a5c1b8b631fc3374242e65e67ec189027c0a7e3d303", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/get_guild_prune_count.ts": "23669a9c61615895cf05f1ec6f47d5cb5bfd1f560285eb1a6087231e8740159a", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/get_guild_widget_image.ts": "05c418983d58b6a588864cff52d9cac7df32aa9d2b87b10068ab5a9a6cccbeae", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/get_guild_widget_image_style_options.ts": "00641321ee414e4ce1fc6d34bf29fe87fa55bbc73ff203ba96560b1145276f83", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild.ts": "8fc1dcf92ba29eb7a3103459072e0179152d38fb59c95855c50a838744327712", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_ban_add_remove.ts": "b24aaf96aa23d04c215f5c65f8808d1e752ee816a427eaa63cf44ab11d4b6dab", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_ban_remove.ts": "7e0c5d90f0a18ac503a8a186b58e3d0a926d1f601955926ab3374b9e3cfc9ddc", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_features.ts": "8d6b08fb9d13254a7886c1f7f90a0bbbeda73e1a71e8d54becd9e135be1b7ab2", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_nsfw_level.ts": "fbe0ccf872bba3bcdb0a204f9f6abe49fa2cb203c2c4dc1b78426319d5218cdc", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_preview.ts": "dae116abf051f416fc08b099076d66c0b3a33cc0d84f8dac0b3c868ec5e980bd", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_role_create.ts": "6c838e78586f2259e1151a496f8fc18701879af23dd493a24d0320970fc0f50e", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_role_delete.ts": "494b620f7a24b15f9473f818f11b5d0c8c2b5f4177f55350e52a9651e3d869cb", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_role_update.ts": "93c870994c7fa5d4be6dbfd66913757352e5a3f68c141201a35a1b6f183f592a", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_widget.ts": "03d47a8ba30be209e709d6e00651a1c1d36d4a8fc6de3d873ea136f29a0e2856", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/guild_widget_details.ts": "9ae4fd54600e48bdad73e212ca792e16a7ff9e063458024a18362ad36adc1dc7", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/mfa_levels.ts": "c9fc5a0d2dc3de72df455f0c49e02718fc7b8db6fe1fa772e399c7b3ee87f45b", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/mod.ts": "eeb1aa95c6953b653a59a82c25bbc062638f55e68b3e8429f3a38922a1730e0c", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/modify_guild.ts": "60d23520096cab852fc52ec5ad934415252692f89920077f79218ea2d82448f8", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/modify_guild_channel_position.ts": "35f1efce25f0b22da6f628bce4664c097095ba7d652b35cd2e1b252c00df88b5", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/modify_guild_member.ts": "882aac23edfbd6f5d27717032ea3313dd6e4924f6fc0d60923f9cfdc561bf563", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/modify_guild_role.ts": "428a137c7974570002fec90ab0bba7c814075b194f7de7081ba90fa2ee44346f", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/modify_guild_role_positions.ts": "f0cb8ff1ac284a20dd0b4d36c6c1dbb957273f60f62addd2fbec033b7e60d06b", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/modify_guild_welcome_screen.ts": "634214924569b6d3ee450a111cfcfa98314d1ef0bf06b28e5c594867f32334c5", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/premium_tiers.ts": "6bd44db4e168d6db9914dc0135a3b82f180f87f80ad335448e9b46fa579f1ded", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/system_channel_flags.ts": "e7838b8537a3b171b1d9c7a71a7225493663a6f5776704703d1efcdf3dff1a51", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/unavailable_guild.ts": "2937f55cbfc3d021dd386a7b0723ad3d35abda9e2f8280f2b23052651bb84e41", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/update_others_voice_state.ts": "6e796bb876100211e6bf97bdc069c58a632cf54878f4b36cdbe0a836e081da84", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/update_self_voice_state.ts": "2a5ffe02555eac543757181380c435fc7bc9103df63cfb2cfb1274b20afa8a8f", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/verification_levels.ts": "ead22d89fba2cd26095bfd2b09f1c062ddb782229a87ea70cce403f04c492eb1", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/welcome_screen.ts": "4d3d83350611c1537d3abe44dc7d265b8e451b01feb36c0ca4e38ae136b8116f", + "https://deno.land/x/discordeno@12.0.1/src/types/guilds/welcome_screen_channel.ts": "6039e1cfe646f6c6f4850c4b9eaf63e2451ae0feadbc132dd4b7ee4c253dfee0", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/guild_integrations_update.ts": "e2d995180d9dd8a946fb3929468c129c98ef432512d3dfc311ee0649c87fc716", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/integration.ts": "8ab702ce5089238647ea5750c24f88922a59076532e3fe78e91b10d229c61c04", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/integration_account.ts": "920889feb3ce7b75779d5341077f757b52ab016b1e1fad38dd209c523c0cf65f", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/integration_application.ts": "9ef6f1baed66f520b716cd1941691475604a7a7e48528722c37f6491652d6f49", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/integration_create_update.ts": "db77df8027bc362da8fa19f91a1e9307a2152e99abb741dd68ac1360582d10d7", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/integration_delete.ts": "2053d99b869c3e76a23ed3ef5f0c3c0b43aae6faf3120f9152e608f62a758d87", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/integration_expire_behaviors.ts": "0b618900855a81136ef5cab1e37ab1be0cd5e66087d5498a42948c1cecc3cfb3", + "https://deno.land/x/discordeno@12.0.1/src/types/integrations/mod.ts": "b6db017298dc714f5584ec702e5b9da47971ff98cf0ea33fc533c4e68afded2f", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command.ts": "d38d90c519b7f17cec1abbcd858c21a3795a17646480e501fea9d64949227833", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_callback_data.ts": "aee22774c1a419fa42afd62d4110beeaaa68b761ba8dab797e3901a14b75b7d4", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_create_update_delete.ts": "294af565659fe37e54e2bea32708b631051d818f3c7808858f48ab7dc227da1e", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_interaction_data.ts": "28de54255bf58298777dd446c857505de7c705570e199846b5319fe28cdfb945", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_interaction_data_option.ts": "0466622a878c795366fe4dd7b25724d2d227d65f675e69d9fb1e86d02ade53d8", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_interaction_data_resolved.ts": "aab04cf520a6996d44c6c558d0fd9ea7e0ba65f7a8225a683b93273d9ee0e2c0", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_option.ts": "11ebc266c3e09b8b18ae9c831da89dabed6df5a25cbbf83d8cb94e8d307cc781", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_option_choice.ts": "794e07b054b4d9f114f83c616dbe324a54b73177075d9604e0603309c2844a70", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_option_types.ts": "33d8f107acd6632d79b0c08b4c58d40be5b539f99190b1a05ca31c3320c0faec", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_permission_types.ts": "30573c358f36b352f0967dc08c34f5158a1e737854064157cac5cd79977e4dcf", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/application_command_permissions.ts": "c5f973d8f54ff4afe219d9bab15a0ee78978ff87513537d802af75f5a915bb63", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/create_global_application_command.ts": "decb10c281bc32e835d314cbea79e2462634bb55544be10b30a148d7923d96bf", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/create_guild_application_command.ts": "496ff874f52f109a0288fbc79b95d6cf44c7c511b38e604c3981845388c18d31", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/edit_global_application_command.ts": "ac88b35c2d38f79d8e560c708e88e552632e7e241d18254dcd6a74364bfc0708", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/edit_guild_application_command.ts": "acb83c3e78ef5314c8dac4c807e6fffd76200768b298a5be90db485fc8013fbe", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/commands/guild_application_command_permissions.ts": "dd1a0f12c790653ad172e92c93a4230025e8d01b006aa304fc96f75e401fdfaf", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/interaction.ts": "ce9284e9cf04b2feac0c571c0f4b45fb562c8fac9994eacdf70e20315aff137c", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/interaction_guild_member.ts": "b7a0e56bdfa52e00d0b6b64afe1d266d6ee51f4910acb8dcc4b066d8da2a28cb", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/interaction_response.ts": "e3859eae90a97d193c373fe51faf33f85246f21712726a3046784562a3e36bef", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/interaction_response_types.ts": "cb05edea31d2ebe4d7f6dd158e298a147d6b1d3faa5f686b04ee3a1826378be7", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/interaction_types.ts": "4d1177f31fe6d122840f5fd328256e3f136eac57447e6d68333ce114ba33eb33", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/message_interaction.ts": "27456f496e8d43792d94758a3e231756ea0c034fa1b62ab15a657a7773c63286", + "https://deno.land/x/discordeno@12.0.1/src/types/interactions/mod.ts": "bbcd6803c8adea202efb9891b54fba800aad936932a69bb8517a2cdc2904afda", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/create_channel_invite.ts": "9ef8243ca3f89e3de3d2285e94a951fcee9783f72c45a2c46854b11217a24054", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/get_invite.ts": "b9bc12f9ee9af506f291403b61f8aeddad8f79073b16dac4bfa7271500d39598", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/invite.ts": "ce20d72d2dcf6321ade1b51500cc563eb6316bf57b12d2180cb57d180f992cf2", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/invite_create.ts": "92857bbd6284eddb26bcc7ebc13b2092bc2a9b5c23aab516296699425a88e629", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/invite_delete.ts": "e7d0a649622fdf44e81a01ed18c0742dd7929ed31ebd6b8845cc1fbc456dabfa", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/invite_metadata.ts": "f8ae3244b1999f1f7d61f79314e85ac7b097d2fa23cbdfdc1f13bde12a9d394f", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/invite_stage_instance.ts": "4cb5d0be6793fe6ea6be8dd12509625d514db06aad3df258531fc847ccbaf344", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/invite_target_types.ts": "a9070da68cf943f580d3d870189fff9a28d6c62ff4b3fc1180a705c13447d8e7", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/mod.ts": "b2e3427f9697f42bac218b21f0ee7536987ac1f0c758ba3467473f8ca3b3fcdc", + "https://deno.land/x/discordeno@12.0.1/src/types/invites/target_types.ts": "aa7f83c9a122a0a550aaf4f2171d4f42d3484075e3b0ec3883934e4db0941d65", + "https://deno.land/x/discordeno@12.0.1/src/types/members/guild_member.ts": "493c685559556b004e4322746b7606dff7c53d6767fa5c24d6c2651a9f7471e1", + "https://deno.land/x/discordeno@12.0.1/src/types/members/guild_member_add.ts": "a7942bca9ff7526b7ee11386933136e5ab32e19e725770f67064d48ce36e939f", + "https://deno.land/x/discordeno@12.0.1/src/types/members/guild_member_remove.ts": "00175234a47ff2c3c721ae262503842e8108acd58ad0f5af79fad236d63dd451", + "https://deno.land/x/discordeno@12.0.1/src/types/members/guild_member_update.ts": "ce45dd4cd6f8ef03ff7cfa17edc27fbd3a11776e976aab1e4c51231c0b339513", + "https://deno.land/x/discordeno@12.0.1/src/types/members/guild_members_chunk.ts": "531828ac31da39623f392972a4f4809a7dd953208156590d0e3b137ca0892b0e", + "https://deno.land/x/discordeno@12.0.1/src/types/members/list_guild_members.ts": "9f1abb6cb8dc70f85a3dec745a4f05c9ec644e25434233418bc6b8ce265f4546", + "https://deno.land/x/discordeno@12.0.1/src/types/members/mod.ts": "524dd0d6e9a10b373a985eabeefdf413445acd7adc88368cfe18734245a9931d", + "https://deno.land/x/discordeno@12.0.1/src/types/members/modify_current_user_nick.ts": "eb38b7b85a3b4da7ae551becb1679a030fcdbbc4caeb75a45dc2e761877ef22f", + "https://deno.land/x/discordeno@12.0.1/src/types/members/request_guild_members.ts": "085f3a9ef7da76338448f9d4304e294804a6ee8a5eeec36d77c91e19af6c0dd2", + "https://deno.land/x/discordeno@12.0.1/src/types/members/search_guild_members.ts": "a1ab4682962b4a4afdfe70fd60a74470cabdfbe1c3dba085664cd4a543dcaf2d", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/allowed_mentions.ts": "c505cd9fdadd0c603416b5b8bd9c4b6a250d67da3df15c3209fdd580024de1e6", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/allowed_mentions_types.ts": "1c17804d29947d9ae98c37ce7a2676ec06b8e360ded811d3a23e93e56d3a493f", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/attachment.ts": "916820d2f91c5cc4b8a8e4d8263d5712c6a12ff362e6db7d26b992064774f908", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/action_row.ts": "ba1d4c9a1bdee1bf23544d5d643081341c3144a5b505b3b668a2f58ed6f30ab0", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/button_component.ts": "c8baf276a704ed053443d1ab2b26fde4c926f5048999772c17345256dd671cf2", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/button_data.ts": "a1e4a5970a698c059ea295f98b0999de8b3d458d6f91bae371f333cefda4d1be", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/button_styles.ts": "18f6d3b59252f234e6d0e2170f5049cbd324fb8e1a53bafca89705bfd4068274", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/message_component_types.ts": "1aec772a66fe12c560c01122dcc000afa9f3742d1b3b8fa5d55e25fd8e7efad4", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/message_components.ts": "c60ae3a19be3918fab45f018b55d681e60626a6a2fa1d35a11b5df1ccce0c9f3", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/select_data.ts": "499b8584ef21f2454530c6494d8d78f6711d77b993bde52387561c232456fc70", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/select_menu.ts": "be9cd262916289a098fc2d0d7cc899c8f310b311149792480e0f0f35463b6404", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/components/select_option.ts": "5f94b74b32ae9d1bd43e9f8a963cfc21497643f4ed1b7553478d711ad30a9010", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/create_message.ts": "49d180f1dcc333c9a400d0e127f0f1cdffd91596f5d010458688a687731e0095", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/edit_message.ts": "5074649ac579092445e21d5c3985b6b62f8419ab602cc0dcbf15c493466f6451", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/get_messages.ts": "2b4568641b0dfad59cdb10344c885c719ca3bdefee4d005c369c477d07ef18f4", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message.ts": "205a1f9b4cba8cb140f5cd8ba6ba5a25716afbd7b0e3f760b2a68f71909f9b1b", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_activity.ts": "0b96b7ed761a083486a12f32c67428dfcc7c96ad1d37cb2499aa2126007a9cdd", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_activity_types.ts": "922960fdc6781246d850f34b0add70a72fffe4fb7a04a43171b54054548dbf06", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_delete.ts": "34fcd76b0a07a2346b46af61d61d97f3279c9a32036c6207cfc3ff83f2d58b85", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_delete_bulk.ts": "270109bfe8cf35176a5422ae7aac2cc900ae5cfd324bd561080ac47159be8ee2", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_flags.ts": "d7a7fa48eab2038bbd8c0018b5416a8e1dce26a19fd2bb2835e55264a1bb5b5e", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_get_reactions.ts": "6e04a198966cc949a353f137d88d62a738e99d9551401471ecdd127ad02867dc", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_reaction_add.ts": "12b57c3ab5c5308d6018eb418e977ed77e9230467c29765638d9fd999bed2c60", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_reaction_remove.ts": "c6c513f938cb8383b40fb805cbd944dcf08bc379d8f6661c38453ac450ebef27", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_reaction_remove_all.ts": "f56bdcf33ae2aca7e555b6fc113072641ecadd6b18ac6626644c01b6d5c0108e", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_reaction_remove_emoji.ts": "40221a12988a518f05f7239bcaef4ef4db38d9de01f4743b2c9914b4cfea10ed", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_reference.ts": "8a69a2dff5e9fbe225661f46c9b55154be4cba91fbc82e8098727dc87e2d0ed4", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_sticker.ts": "02b808c381e2ee4b4fb7678577017a9328b79c628cca03a166dbd86234b836e8", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_sticker_format_types.ts": "6666bb24bdc9a62e2a568b97697f2b82bb4fae11abb5b2b3a61ea20e8026963a", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_sticker_item.ts": "8e7316f65769f72a34059aa6fe4581f24e88f41b092f95c23c1c1521198ad8d4", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/message_types.ts": "1a234933822c666f6e87306afa91f9872ff6aabdb8b4ad576a730230f85cd593", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/mod.ts": "b125e93de534a1027e973216b299d00845a95f5e97488aaffe5c0aca5f6691cd", + "https://deno.land/x/discordeno@12.0.1/src/types/messages/reaction.ts": "ffd87364779c6da9ab38dc09b649c6da9d8bab165571e6710845ec34192fc3ac", + "https://deno.land/x/discordeno@12.0.1/src/types/misc/image_format.ts": "da094996f9d9af0bf46ac02e4b8d2c344cfbd0e048dd4e08e11ff984fcb308e1", + "https://deno.land/x/discordeno@12.0.1/src/types/misc/image_size.ts": "16f080d4f0054bdce8beeba9467519a93d59ffda1541f1644772d9bf64b27813", + "https://deno.land/x/discordeno@12.0.1/src/types/misc/mod.ts": "d7ad3f45fff9ad8db7c7240c9b0ac1dca557983e718a43e05a41a65e2667e31c", + "https://deno.land/x/discordeno@12.0.1/src/types/misc/typing_start.ts": "45a83766a4dc967b6fe7316963fdd4b0deff7bb64b3483e3ebe3838b79ca6e15", + "https://deno.land/x/discordeno@12.0.1/src/types/mod.ts": "be001875d2268dd04922dda282f1931c4cb2f4d57fe7e8a99467f411a400569c", + "https://deno.land/x/discordeno@12.0.1/src/types/oauth2/bot_auth_query.ts": "e34275d1f448368030c689b1a1a3091dacd4cca3fe6cce7b7122cf42024c98d1", + "https://deno.land/x/discordeno@12.0.1/src/types/oauth2/get_current_authorization_information.ts": "45835141b355314d717a81fbb3005f216e1c0bba85d4c1868d5bef01f37a12e6", + "https://deno.land/x/discordeno@12.0.1/src/types/oauth2/mod.ts": "572c24b2f90280a3ffb3eeb1902563ccb78f2c82d4c11b3a87348d86cf4e4c20", + "https://deno.land/x/discordeno@12.0.1/src/types/oauth2/scopes.ts": "657d9a843a1dfebb50ef4eb78af602410fae62cfe82511f8fb4e32e5cfca34e1", + "https://deno.land/x/discordeno@12.0.1/src/types/permissions/bitwise_permission_flags.ts": "cace984189ca2765774d33b62b3e891ee939c8807c84986ec1278fabd7c8e25b", + "https://deno.land/x/discordeno@12.0.1/src/types/permissions/mod.ts": "84759ae831e43d8c37a0ed7a47c463fb50ed0b33910ff9db4187a07adcc34648", + "https://deno.land/x/discordeno@12.0.1/src/types/permissions/permission_strings.ts": "e608ac09f427d78fbc2b91701e932d28688e2f93a8a2571068f2e3d11325681c", + "https://deno.land/x/discordeno@12.0.1/src/types/permissions/role.ts": "f927430b1d470bbb691cc996711bce666b562d776e454b63b4bd2f463b284b19", + "https://deno.land/x/discordeno@12.0.1/src/types/permissions/role_tags.ts": "76c6cdcdcadd0c8d957236d9d7b3f90abf5b53b5a0753afe1b35614c4a0f3abb", + "https://deno.land/x/discordeno@12.0.1/src/types/teams/mod.ts": "3fb43926589c0c330781195d8f7dd0d6f664931eafaf3933be4f7fe52d2aee3d", + "https://deno.land/x/discordeno@12.0.1/src/types/teams/team.ts": "8ff5d101459e2d809ee8bfa4cb16c85fb531c1959c03865b614694c111872342", + "https://deno.land/x/discordeno@12.0.1/src/types/teams/team_member.ts": "7a0475093edb4883e0cbc824de207e2ad915552d1ec09243674755572e91900d", + "https://deno.land/x/discordeno@12.0.1/src/types/teams/team_membership_states.ts": "e4dc48d9fdb525c1c8ca3f412f2b0458bd4a37aa4737336bc5c9ab99a07d8886", + "https://deno.land/x/discordeno@12.0.1/src/types/templates/create_guild_from_template.ts": "ae1f0d5f146a49cfba34679c1b5754767603951c64d43c7bbc8bb607660d1104", + "https://deno.land/x/discordeno@12.0.1/src/types/templates/mod.ts": "c8df6c5ccb7626fdb563866040b8049245a86a052f9e426dc03886650bf291a9", + "https://deno.land/x/discordeno@12.0.1/src/types/templates/modify_guild_template.ts": "8fdf4fdedd83112990b3c260d096a6c5f953c7b85fed7ebbdfb71e5d0f68e6de", + "https://deno.land/x/discordeno@12.0.1/src/types/templates/template.ts": "53474bf645309ce5fd1a4100a6a01fb7e2567620249f188606bc49667c81fe25", + "https://deno.land/x/discordeno@12.0.1/src/types/users/connection.ts": "498cba9fab0689b78017b1500f31b7fca899bab011141aab12705195167a37ad", + "https://deno.land/x/discordeno@12.0.1/src/types/users/create_dm.ts": "b4eb45c208985c13c7124f011d662a260c14a41f2ab5357213aedadd35b3f0fa", + "https://deno.land/x/discordeno@12.0.1/src/types/users/create_group_dm.ts": "3e37eabd020900e37b965f17ab768273cb48f4167833bbd2c2120a0ac874317e", + "https://deno.land/x/discordeno@12.0.1/src/types/users/mod.ts": "5803018de389174b4c94576862b8a121769934d53e55c3c3c7baca5fae939f9a", + "https://deno.land/x/discordeno@12.0.1/src/types/users/modify_current_user.ts": "2561dc9274960be675a3f85c55b864ebca92094edc169c974b0ebff4bdb9afc2", + "https://deno.land/x/discordeno@12.0.1/src/types/users/premium_types.ts": "a3532d25bb31b38c78e3d93ef695e0bab5d5f69ed5b281053b85103522fdba65", + "https://deno.land/x/discordeno@12.0.1/src/types/users/user.ts": "69212e83c0dd958e3bed597851a4466c028bd1074cf732b0d9f989fea93a0e17", + "https://deno.land/x/discordeno@12.0.1/src/types/users/user_flags.ts": "b38c1a86c6322f56d442a541148d05e0ccea284ec66698d29858f652d3d3e5a1", + "https://deno.land/x/discordeno@12.0.1/src/types/users/visibility_types.ts": "ef9bb46cf7cf2ce0adec7c2d91705775fb316f5e1a974a0a3e114a5cd65fa96b", + "https://deno.land/x/discordeno@12.0.1/src/types/util.ts": "2c0e6c61f97e728935ede97d6eb9f3fbe4cba1816747a864e73015a2ae30a5c3", + "https://deno.land/x/discordeno@12.0.1/src/types/voice/mod.ts": "8609e6f0b8d1ad036d9da55413ece8fb16ac5833e2276f84f1e7cf86fe5aa363", + "https://deno.land/x/discordeno@12.0.1/src/types/voice/update_voice_state.ts": "0b02d394084b064c7cb9f77757a6552d998f4893917c9a82fa6db830530bedce", + "https://deno.land/x/discordeno@12.0.1/src/types/voice/voice_region.ts": "d7c7d1215f4a5084bf62f30051a8a2700cd94fd690cf1648e9898c2457d92d6c", + "https://deno.land/x/discordeno@12.0.1/src/types/voice/voice_server_update.ts": "1cf51a829af01123e5d527d377734245dd3c0586a6ee4e7d493dc772c5c61415", + "https://deno.land/x/discordeno@12.0.1/src/types/voice/voice_state.ts": "19641e7e7d208eda81a44d12c44ed886f8836bc5cd27a6442b2d5bbccbaceae0", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/create_webhook.ts": "3d417ac1b94f714468ae770e046a2a1898e3d03edcc3df2ce66aab03a93781ec", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/discord_webhook_types.ts": "39ecbca5fc26146cd7fdb30f0ae76aa225df6d19eed294ba0f66dbaae40516ee", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/edit_webhook_message.ts": "8e02812d2f0b858d96a3c1989f7dfa14752ff11a07add9b878a79385e2cfa8ba", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/execute_webhook.ts": "86a96e649e0ef42548a9770a9daafc8f35ebc9537029f54978fb1ebd5d103100", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/mod.ts": "88cbe7bf62e98bce36ca8ea9cc1b92f52a8b0f4f8c9ae3dd9e1ac4b27db2d270", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/modify_webhook.ts": "750df9aa85922874eec8e8e4470885055798c262ecc1efcd9942292e56099f66", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/webhook.ts": "1a6afa12056d68c959e8007dec58930a03ee281968b0cf484f600450b38f3e9c", + "https://deno.land/x/discordeno@12.0.1/src/types/webhooks/webhooks_update.ts": "5a55d12468c71de8d9977631d62840671469edfcf1f074e9e9662a16d53b5db2", + "https://deno.land/x/discordeno@12.0.1/src/util/bigint.ts": "0e5bae16f4e9c2cb579ed7fb4b93ef3b3f496b24730217f7862c47a890a6bfd9", + "https://deno.land/x/discordeno@12.0.1/src/util/cache_members.ts": "f9777e7b89269dd6c2e5e4f392da9cacc861617da148624b056df6df0a6c79dd", + "https://deno.land/x/discordeno@12.0.1/src/util/calculate_shard_id.ts": "d067462feb3b5689d621da80494cdc94cc97d61781d7ffa16f22abc44f6de3b0", + "https://deno.land/x/discordeno@12.0.1/src/util/collection.ts": "8836093375b54fe14291c68822ad9caa38477721eb7ba274adf787a5c07e4212", + "https://deno.land/x/discordeno@12.0.1/src/util/constants.ts": "b6af21db7f958fdc6f74e11ced5295a57683651068594c68232a6e78532fb151", + "https://deno.land/x/discordeno@12.0.1/src/util/deps.ts": "fbd56407f7b637905afa607108068f30179b0c5c9fa051f2b6f3d8db7c37cf93", + "https://deno.land/x/discordeno@12.0.1/src/util/dispatch_requirements.ts": "3620e6a477cc1c0afc765a8cd3d785680203fe6fbbdb92be0ab39791baee51b8", + "https://deno.land/x/discordeno@12.0.1/src/util/hash.ts": "16b43830850d0f388655c7a797812e61e5134ea7c334678d66eb35d43f373a19", + "https://deno.land/x/discordeno@12.0.1/src/util/loop_object.ts": "ba4812378503d215c07df1d6ff3a08d40ca86acb7a2bc48526452298bb8d6900", + "https://deno.land/x/discordeno@12.0.1/src/util/mod.ts": "0208f1161e21ac6a29032eb3458d564dbfefab7055902267a60f942064a46208", + "https://deno.land/x/discordeno@12.0.1/src/util/permissions.ts": "333c95b78fb941689fdec4c8b5ab4e4ca8b76243dee89a5796462e16a39868c2", + "https://deno.land/x/discordeno@12.0.1/src/util/transformers/channel_to_thread.ts": "ac6ae14343ae805a1982dccfee80946614882a37fbbfe3fffc5b098d173588d5", + "https://deno.land/x/discordeno@12.0.1/src/util/transformers/mod.ts": "d258185f899f4fdf2604f42150912b1319e2eff49bc899b6a19774f81cb0d34e", + "https://deno.land/x/discordeno@12.0.1/src/util/transformers/thread_member_modified.ts": "44e958ed826ed24c8d8adb978242a150e72cd22ef649502d60739758d1739204", + "https://deno.land/x/discordeno@12.0.1/src/util/transformers/thread_members_update_modified.ts": "de27753db80eee6f70e15fb2c1743d321f8a00a3c8894b2f174068d85b529663", + "https://deno.land/x/discordeno@12.0.1/src/util/utils.ts": "96b33045aa38c849276416b8397ae001fb1a206bc02e751e5b0aea7ea5c80f32", + "https://deno.land/x/discordeno@12.0.1/src/util/validate_length.ts": "7c610911d72082f9cfe2c455737cd37d8ce8f323483f0ef65fdfea6a993984b5", + "https://deno.land/x/discordeno@12.0.1/src/ws/close_ws.ts": "3870cde9dab402106dd50d11667041cccb9893a361c812a6e87b11ab3e058658", + "https://deno.land/x/discordeno@12.0.1/src/ws/create_shard.ts": "7d6ac3eb08c1c3241bf3d00e66718b1934444d87f31b2abfd91d68099bde0824", + "https://deno.land/x/discordeno@12.0.1/src/ws/deps.ts": "dde42348b5949fcadd6ff96450e3ad2702d3e98c14678d15857db72bc21584a4", + "https://deno.land/x/discordeno@12.0.1/src/ws/events.ts": "10a4b57f2a58dccfdcd6ece10bb88af5b72aeb809112aa75b2bce7806c8d7046", + "https://deno.land/x/discordeno@12.0.1/src/ws/handle_discord_payload.ts": "79c07721351cb9339313a152869d115614187552fcb9f0aca0b465ad4c963b94", + "https://deno.land/x/discordeno@12.0.1/src/ws/handle_on_message.ts": "fe33770d5dad1cf8e93ccb6e5c8aa46f8ed8483bccbd0cf1524a8a3af199689e", + "https://deno.land/x/discordeno@12.0.1/src/ws/heartbeat.ts": "2371362027532261f3dea99500bf85d48e0164115e73b593ef6d83818c7ee758", + "https://deno.land/x/discordeno@12.0.1/src/ws/identify.ts": "7c179f0fd8be1f6311e8713940567043a20668899e7cb54a7f150ea1b0cb2aaf", + "https://deno.land/x/discordeno@12.0.1/src/ws/mod.ts": "3f868f73c514d2bf2ff8908ccfec9d804ec4b8ebf248e985c4ae8a07f374cd37", + "https://deno.land/x/discordeno@12.0.1/src/ws/process_queue.ts": "16087e8b5bd9f15c4ec482f4aeb7725c924505e140156e22e45c34d25b5e962c", + "https://deno.land/x/discordeno@12.0.1/src/ws/resharder.ts": "d5c1f0aeae8609cdcc63e266accb1536b6858edb8b08096bb00ae36d52ac8676", + "https://deno.land/x/discordeno@12.0.1/src/ws/resume.ts": "665fd5d13644b60d4e9485cc1b6f371088ec671479a8dc9fc66066411c9f751f", + "https://deno.land/x/discordeno@12.0.1/src/ws/send_shard_message.ts": "ab48f1d03d6b485d2bab2c2bb03181d8dafd11924f2591a692b92d30f0510e2b", + "https://deno.land/x/discordeno@12.0.1/src/ws/spawn_shards.ts": "cad1fbe2155c6141c1a40db547397f413c9791d6531d657702c59b6ed4392dbd", + "https://deno.land/x/discordeno@12.0.1/src/ws/start_gateway.ts": "a8214b3abb5cbbf385cf0b5486aae1dd0b444842ce1c57b33dec634a2ac5ae85", + "https://deno.land/x/discordeno@12.0.1/src/ws/start_gateway_options.ts": "21a8eb91a408f7576cc17cacfc1746e4f668dfb61b8e4414eaf38ea04506605e", + "https://deno.land/x/discordeno@12.0.1/src/ws/tell_cluster_to_identify.ts": "fd495d6cd39b9051da7185b752d7975454b036a9522140b3a4f307b5cc261304", + "https://deno.land/x/discordeno@12.0.1/src/ws/ws.ts": "b059ceb6e9e41e9c7c3cf4758f0cf196be66c528806ffcdd2f9865bec5c5db7f", + "https://deno.land/x/nanoid@v3.0.0/customAlphabet.ts": "1cfd7cfd2f07ca8d78a7e7855fcc9f59abf01ef2a127484ef94328fadf940ead", + "https://deno.land/x/nanoid@v3.0.0/customRandom.ts": "af56e19038c891a4b4ef2be931554c27579bd407ee5bbea5cb64f6ee1347cbe3", + "https://deno.land/x/nanoid@v3.0.0/mod.ts": "3ead610e40c58d8fdca21d5da9ec661445a2b82526e19c34d05de5f90be8a1be", + "https://deno.land/x/nanoid@v3.0.0/nanoid.ts": "8d119bc89a0f34e7bbe0c2dbdc280d01753e431af553d189663492310a31085d", + "https://deno.land/x/nanoid@v3.0.0/random.ts": "4da71d5f72f2bfcc6a4ee79b5d4e72f48dcf4fe4c3835fd5ebab08b9f33cd598", + "https://deno.land/x/nanoid@v3.0.0/urlAlphabet.ts": "8b1511deb1ecb23c66202b6000dc10fb68f9a96b5550c6c8cef5009324793431", + "https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.1/deps.ts": "4932522dd8d38cc322df6508d4f2e55e5fb0ec15e54fcdc81e2bf10051021608", + "https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.1/mod.ts": "d9c38a41a405cf5732c9233c2391a1d7f5a12d0e464aace6f8f596fabf5f21ba", + "https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.1/src/logger.ts": "f6ba6f7fe254fc3227a3ad48fd7c2c3aaaec8c350f0246fb3eeff075c21dc7e5", + "https://unpkg.com/@evan/wasm@0.0.65/target/zlib/deno.js": "36cd3f1edd2f3a6d6fd4c2376f701c2748338c132703810d4866cfa52b5e7bf9" + } +} diff --git a/deps.ts b/deps.ts new file mode 100644 index 0000000..d323e3b --- /dev/null +++ b/deps.ts @@ -0,0 +1,12 @@ +export { + startBot, editBotStatus, editBotNickname, + sendMessage, + Intents, DiscordActivityTypes, + cache, cacheHandlers +} from "https://deno.land/x/discordeno@12.0.1/mod.ts"; + +export type { + DiscordenoMessage, DiscordenoGuild, Embed +} from "https://deno.land/x/discordeno@12.0.1/mod.ts"; + +export { initLog, log, LogTypes as LT } from 'https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.1/mod.ts'; \ No newline at end of file diff --git a/flags.ts b/flags.ts new file mode 100755 index 0000000..a22d9ce --- /dev/null +++ b/flags.ts @@ -0,0 +1,6 @@ +// DEVMODE is to prevent users from accessing parts of the bot that are currently broken +export const DEVMODE = false; +// DEBUG is used to toggle the cmdPrompt +export const DEBUG = false; +// LOCALMODE is used to run a different bot token for local testing +export const LOCALMODE = false; diff --git a/logogram.rc b/logogram.rc new file mode 100755 index 0000000..1fc4aec --- /dev/null +++ b/logogram.rc @@ -0,0 +1,20 @@ +#!/bin/sh + +# PROVIDE: logogram + +. /etc/rc.subr + +name="logogram" +rcvar="logogram_enable" +pidfile="/var/dbots/logogram-bot/logogram-bot.pid" + +logogram_root="/var/dbots/logogram-bot" +logogram_write="./logs/" +logogram_log="/var/log/logogram-bot.log" + +logogram_chdir="${logogram_root}" +command="/usr/sbin/daemon" +command_args="-f -R 5 -P ${pidfile} -o ${logogram_log} /usr/local/bin/deno run --allow-write=${logogram_write} --allow-net ${logogram_root}/mod.ts" + +load_rc_config logogram +run_rc_command "$1" diff --git a/logogram.service b/logogram.service new file mode 100755 index 0000000..7ce5dc3 --- /dev/null +++ b/logogram.service @@ -0,0 +1,14 @@ +[Unit] +Description=Logogram Discord Bot +Documentation=https://git.milligan.dev/xivdev/logogram-bot +After=network.target + +[Service] +Type=simple +PIDFile=/run/deno.pid +ExecStart=/root/.deno/bin/deno run --allow-write=./logs/ --allow-net /var/dbots/logogram-bot/mod.ts +RestartSec=60 +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/mod.ts b/mod.ts new file mode 100755 index 0000000..31ce370 --- /dev/null +++ b/mod.ts @@ -0,0 +1,191 @@ +import { + DiscordActivityTypes, + DiscordenoGuild, + DiscordenoMessage, + editBotNickname, + editBotStatus, + // Log4Deno deps + initLog, + Intents, + log, + LT, + sendMessage, + // Discordeno deps + startBot, +} from './deps.ts'; + +import { constantCmds } from './src/constantCmds.ts'; +import data from './src/data.ts'; + +import { DEBUG, LOCALMODE } from './flags.ts'; +import config from './config.ts'; +import { generateEmbeds } from './src/generateActionEmbeds.ts'; +import { classToType } from './src/utils.ts'; + +// Initialize logging client with folder to use for logs, needs --allow-write set on Deno startup +initLog('logs', DEBUG); + +startBot({ + token: LOCALMODE ? config.localToken : config.token, + intents: [Intents.GuildMessages, Intents.DirectMessages, Intents.Guilds], + eventHandlers: { + ready: () => { + editBotStatus({ + activities: [{ + name: 'Booting up . . .', + type: DiscordActivityTypes.Game, + createdAt: new Date().getTime(), + }], + status: 'online', + }); + + // setTimeout added to make sure the startup message does not error out + setTimeout(() => { + LOCALMODE && editBotNickname(config.devServer, `LOCAL - ${config.name}`); + editBotStatus({ + activities: [{ + name: 'Booting Complete', + type: DiscordActivityTypes.Game, + createdAt: new Date().getTime(), + }], + status: 'online', + }); + sendMessage(config.logChannel, `${config.name} has started, running version ${config.version}.`).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(e)}`); + }); + }, 1000); + }, + guildCreate: (guild: DiscordenoGuild) => { + sendMessage(config.logChannel, `New guild joined: ${guild.name} (id: ${guild.id}). This guild has ${guild.memberCount} members!`).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(e)}`); + }); + }, + guildDelete: (guild: DiscordenoGuild) => { + sendMessage(config.logChannel, `I have been removed from: ${guild.name} (id: ${guild.id}).`).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(e)}`); + }); + }, + messageCreate: (message: DiscordenoMessage) => { + // Ignore all other bots + if (message.isBot) return; + + // Ignore all messages that are not commands + if (message.content.indexOf(config.prefix) !== 0) return; + + // Split into standard command + args format + const args = message.content.slice(config.prefix.length).trim().split(/[ \n]+/g); + const command = args.shift()?.toLowerCase(); + + if (command === 'help' || command === 'h' || command === '?') { + // l!help or l!h or l!? + // Help command, prints from help file + message.send(constantCmds.help).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else if (command === 'info' || command === 'i') { + // l!info or l!i + // Info command, prints short desc on bot and some links + message.send(constantCmds.info).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else if (command === 'version' || command === 'v') { + // l!version or l!v + // Returns version of the bot + message.send(constantCmds.version).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else if (command === 'logograms' || command === 'logogram' || command === 'logos' || command === 'logo' || command === 'l') { + // l!logograms or l!logograms or l!logos or l!logo or l!l + // Returns logos actions stuff + if (!args.length) { + message.send(constantCmds.logogramsNoQuery).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else { + const params = { + class: '', + rawClass: '', + isNin: false, + page: 1, + }; + + args.forEach((arg) => { + if (arg.toLowerCase().startsWith('-class=')) { + params.rawClass = arg.split('=')[1]; + params.class = classToType(params.rawClass); + params.isNin = params.rawClass.toLowerCase() === 'nin'; + } else if (arg.toLowerCase().startsWith('-page=')) { + params.page = parseInt(arg.split('=')[1]); + } + }); + + const cleanArgs = args.filter((arg) => !(arg.toLowerCase().startsWith('-class=') || arg.toLowerCase().startsWith('-page='))); + const rawQuery = cleanArgs.join(' '); + const query = rawQuery.toLowerCase(); + + if (data.ActionNames.includes(query)) { + const singleAction: Array = [data.ActionNames.indexOf(query)]; + message.send({ + content: `Showing single action:`, + embeds: generateEmbeds(singleAction), + }).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else { + const initialSearchResults: Array = data.ActionNames.filter((action) => action.includes(query)).map((action) => data.ActionNames.indexOf(action)); + const searchResults: Array = initialSearchResults.filter((actionIdx) => + params.class + ? (data.Actions[actionIdx].jobs.includes('all-nin') && !params.isNin) || data.Actions[actionIdx].jobs.includes('all') || data.Actions[actionIdx].jobs.includes(params.class) + : true + ); + + if (searchResults.length) { + const totalPages = Math.ceil(searchResults.length / config.resultsPerPage); + if (params.page > totalPages) { + params.page = totalPages; + } + const classMessage = params.class ? ` -class=${params.rawClass}` : ''; + const userQuery = `${rawQuery}${classMessage}`.trim(); + const paginationMessage = searchResults.length > config.resultsPerPage + ? `\nShowing page ${params.page} of ${totalPages}\n\nTo see more results, please run \`${config.prefix}logos ${userQuery} -page=#\`, where # is the page number you wish to see.` + : ''; + message.send({ + content: `${searchResults.length} result${searchResults.length > 1 ? 's' : ''} matching query: \`${userQuery}\`${paginationMessage}`, + embeds: generateEmbeds(searchResults.slice((params.page - 1) * config.resultsPerPage, config.resultsPerPage * params.page)), + }).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else { + message.send({ + content: `No results found matching query: \`${rawQuery}\``, + }).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } + } + } + } else if (command === 'preset' || command === 'p') { + // l!preset or l!p + // Returns logos actions stuff + const rawQuery = args.join(' '); + const query = rawQuery.toLowerCase(); + + if (data.Presets.has(query)) { + const preset: Array = data.Presets.get(query) ?? []; + message.send({ + content: `Showing ${rawQuery} Preset:`, + embeds: generateEmbeds(preset), + }).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } else { + message.send({ + content: `No preset found matching query: \`${rawQuery}\``, + }).catch((e) => { + log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); + }); + } + } + }, + }, +}); diff --git a/src/constantCmds.ts b/src/constantCmds.ts new file mode 100755 index 0000000..07ec8dc --- /dev/null +++ b/src/constantCmds.ts @@ -0,0 +1,58 @@ +import config from '../config.ts'; + +const errorColor = 0xe71212; + +export const constantCmds = { + help: { + embeds: [{ + title: `${config.name}'s Available Commands:`, + fields: [ + { + name: `\`${config.prefix}?\``, + value: 'This command', + inline: true, + }, + { + name: `\`${config.prefix}info\``, + value: 'Prints some information and links relating to the bot', + inline: true, + }, + { + name: `\`${config.prefix}version\``, + value: 'Prints the bots version', + inline: true, + }, + { + name: `\`${config.prefix}logograms [query]\` or \`${config.prefix}l [query]\``, + value: 'Sends information about the requested logogram, or logograms matching the query\nCan use `-class=abbr` to further filter the results, or `-page=#` to view more results', + inline: true, + }, + { + name: `\`${config.prefix}preset [query]\` or \`${config.prefix}p [query]\``, + value: 'Sends information about the requested preset list', + inline: true, + }, + ], + }], + }, + info: { + embeds: [{ + fields: [{ + name: `${config.name}, a Discord bot for Eureka Logogram Actions.`, + value: `${config.name} is developed by Ean AKA Burn_E99.\n\nFINAL FANTASY XIV SQUARE ENIX CO., LTD. FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd. All material used under license.`, + }], + }], + }, + version: { + embeds: [{ + title: `My current version is ${config.version}`, + }], + }, + logogramsNoQuery: { + embeds: [{ + color: errorColor, + title: 'No query provided!', + description: `Please type something after the command, such as \`${config.prefix}logos wisdom\`.`, + }], + }, +}; diff --git a/src/data.ts b/src/data.ts new file mode 100644 index 0000000..275027e --- /dev/null +++ b/src/data.ts @@ -0,0 +1,760 @@ +import { LogosAction } from './types.d.ts'; + +const Mnemes = new Map([ + ['1', 'Wisdom of the Aetherweaver'], + ['2', 'Wisdom of the Martialist'], + ['3', 'Wisdom of the Platebearer'], + ['4', 'Incense L'], + ['5', 'Cure L'], + ['6', 'Backstep L'], + ['7', 'Paralyze L'], + ['8', 'Esuna L'], + ['9', 'Raise L'], + ['10', 'Feint L'], + ['11', 'Tranquilizer L'], + ['12', 'Protect L'], + ['13', 'Wisdom of the Skirmisher'], + ['14', 'Bloodbath L'], + ['15', 'Wisdom of the Guardian'], + ['16', 'Spirit of the Remembered'], + ['17', 'Wisdom of the Ordained'], + ['18', 'Cure L II'], + ['19', 'Featherfoot L'], + ['20', 'Stealth L'], + ['21', 'Spirit Dart L'], + ['22', 'Dispel L'], + ['23', 'Shell L'], + ['24', 'Stoneskin L'], + ['25', 'Magic Burst L'], + ['26', 'Eagle Eye Shot L'], + ['27', 'Double Edge L'], + ['28', 'Wisdom of the Breathtaker'], +]); + +const Actions: Array = [ + { + name: 'Wisdom of the Aetherweaver', + description: 'Increases magic damage dealt by 60%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 1, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['healer'], + combinations: [['1']], + }, + { + name: 'Wisdom of the Martialist', + description: 'Increases damage dealt by 40%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 2, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['tank'], + combinations: [['2']], + }, + { + name: 'Wisdom of the Platebearer', + description: 'Increases defense by 3,000 and maximum HP by 50%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 3, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['melee', 'ranged', 'magic', 'healer'], + combinations: [['3']], + }, + { + name: 'Wisdom of the Guardian', + description: 'Increases defense by 1,800 and maximum HP by 10%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 4, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['tank'], + combinations: [['15'], ['3', '12'], ['3', '24'], ['3', '4', '4'], ['24', '24', '24']], + }, + { + name: 'Wisdom of the Ordained', + description: 'Increases maximum MP by 50% and healing magic potency by 25%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 5, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['healer'], + combinations: [['17'], ['1', '8'], ['1', '5', '5'], ['18', '18', '18']], + }, + { + name: 'Wisdom of the Skirmisher', + description: 'Increases damage dealt by 20%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 6, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['melee', 'ranged', 'magic'], + combinations: [['13'], ['2', '10'], ['2', '2', '2']], + }, + { + name: 'Wisdom of the Watcher', + description: 'Increases evasion by 25% while reducing damage dealt by 5%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 7, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['tank'], + combinations: [['20', '20']], + }, + { + name: 'Wisdom of the Templar', + description: + 'Increases healing magic potency by 50% and maximum HP by 30%, while reducing damage dealt by 5%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 8, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['healer'], + combinations: [ + ['13', '18'], + ['13', '24'], + ['3', '5', '24'], + ], + }, + { + name: 'Wisdom of the Irregular', + description: 'Increases damage dealt by 30% while reducing magic defense by 60%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 9, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['melee', 'ranged', 'magic'], + combinations: [ + ['13', '15'], + ['2', '4', '13'], + ], + }, + { + name: 'Wisdom of the Breathtaker', + description: + 'Increases poison resistance and movement speed, including mount speed, and increases evasion by 10%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 10, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['all'], + combinations: [['28'], ['19', '20'], ['20', '20', '20'], ['19', '19', '19']], + }, + { + name: 'Spirit of the Remembered', + description: 'Increases maximum HP by 10% and accuracy by 30%.\nAdditional Effect: Grants a 70% chance of automatic revival upon KO.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 11, + type: 'Ability', + uses: 1, + duration: 10800, + cast: 0, + recast: 10, + jobs: ['all'], + combinations: [['16'], ['2', '15'], ['1', '2', '3']], + }, + { + name: 'Protect L', + description: 'Increases the physical defense of the target by 1,000.', + imageId: 12, + type: 'Spell', + uses: Infinity, + duration: 1800, + cast: 2.5, + recast: 2.5, + jobs: ['all'], + combinations: [['12']], + }, + { + name: 'Shell L', + description: 'Increases the magic defense of the target by 1,000.', + imageId: 13, + type: 'Spell', + uses: Infinity, + duration: 1800, + cast: 2.5, + recast: 2.5, + jobs: ['all'], + combinations: [['23'], ['8', '12']], + }, + { + name: 'Death L', + description: "KOs target. The less the target's HP, the greater the chance of success.", + imageId: 14, + type: 'Spell', + uses: 30, + cast: 5, + recast: 300, + jobs: ['all'], + combinations: [ + ['9', '22'], + ['9', '11', '11'], + ['1', '7', '9'], + ['22', '22', '22'], + ], + }, + { + name: 'Focus L', + description: 'Grants a stack of Boost, up to a maximum of 16.\nBoost Bonus: Increases potency of next weaponskill by 30% per stack.\nShares a recast timer with all weaponskills.', + imageId: 15, + type: 'Ability', + uses: 99, + duration: 30, + cast: 0, + recast: 2.5, + jobs: ['all'], + combinations: [ + ['13', '14'], + ['14', '14', '14'], + ], + }, + { + name: 'Paralyze L', + description: 'Afflicts target with Paralysis.', + imageId: 16, + type: 'Spell', + uses: 99, + duration: 60, + cast: 2.5, + recast: 2.5, + jobs: ['all'], + combinations: [['7']], + }, + { + name: 'Paralyze L III', + description: 'Afflicts target and all nearby enemies with Paralysis.', + imageId: 17, + type: 'Spell', + uses: 99, + duration: 60, + cast: 2.5, + recast: 2.5, + jobs: ['all'], + combinations: [ + ['7', '21'], + ['7', '7', '7'], + ['1', '7', '7'], + ], + }, + { + name: 'Swift L', + description: 'Greatly increases movement speed.', + imageId: 18, + type: 'Ability', + uses: 20, + duration: 10, + cast: 0, + recast: 90, + jobs: ['all'], + combinations: [ + ['19', '19'], + ['6', '6', '19'], + ], + }, + { + name: 'Featherfoot L', + description: 'Increases evasion by 15%.', + imageId: 19, + type: 'Ability', + uses: 50, + duration: 45, + cast: 0, + recast: 90, + jobs: ['all'], + combinations: [['19'], ['10', '10']], + }, + { + name: 'Spirit Dart L', + description: 'Delivers a ranged attack with a potency of 100.\nAdditional Effect: Afflicts target with Spirit Dart L, increasing damage taken by 8%.', + imageId: 20, + type: 'Weaponskill', + uses: 50, + duration: 60, + cast: 0, + recast: 2.5, + jobs: ['melee', 'ranged', 'magic'], + combinations: [['21'], ['11', '17'], ['1', '7', '11']], + }, + { + name: 'Catastrophe L', + description: 'Deals unaspected damage to all nearby enemies with a potency of 4,000, while dealing damage with a potency of 999,999 to self.', + imageId: 21, + type: 'Ability', + uses: 3, + cast: 0, + recast: 300, + jobs: ['tank', 'melee', 'ranged'], + combinations: [ + ['15', '21'], + ['14', '14'], + ['21', '21', '21'], + ], + }, + { + name: 'Dispel L', + description: 'Removes one beneficial status from target.', + imageId: 22, + type: 'Spell', + uses: Infinity, + cast: 2.5, + recast: 2.5, + jobs: ['melee', 'ranged', 'magic', 'healer'], + combinations: [['22'], ['8', '17'], ['8', '8', '8'], ['11', '11', '11']], + }, + { + name: 'Feint L', + description: "Delivers an attack with a potency of 100.\nAdditional Effect: Reduces target's evasion.", + imageId: 23, + type: 'Weaponskill', + uses: Infinity, + duration: 60, + cast: 0, + recast: 2.5, + jobs: ['tank', 'healer'], + combinations: [['10']], + }, + { + name: 'Stealth L', + description: + 'Blend in with your surroundings, making it impossible for most enemies to detect you, but reducing movement speed by 50%.\nHas no effect on certain enemies with special sight.\nCannot be executed while in combat.\nEffect ends upon use of any action other than Sprint, or upon reuse.', + imageId: 24, + type: 'Ability', + uses: 50, + cast: 0, + recast: 15, + jobs: ['all-nin'], + combinations: [['20'], ['17', '23']], + }, + { + name: 'Aetherial Manipulation L', + description: "Rush to a target's side.\nUnable to cast if bound.", + imageId: 25, + type: 'Ability', + uses: 99, + cast: 0, + recast: 5, + jobs: ['all'], + combinations: [ + ['6', '20'], + ['2', '6', '10'], + ], + }, + { + name: 'Backstep L', + description: 'Jump 10 yalms back from current position.\nCannot be executed while bound.', + imageId: 26, + type: 'Ability', + uses: 99, + cast: 0, + recast: 5, + jobs: ['all'], + combinations: [['6']], + }, + { + name: 'Tranquilizer L', + description: 'Stuns target.', + imageId: 27, + type: 'Ability', + uses: 50, + duration: 8, + cast: 0, + recast: 30, + jobs: ['all'], + combinations: [['11']], + }, + { + name: 'Bloodbath L', + description: 'Converts a portion of damage dealt into HP.', + imageId: 28, + type: 'Ability', + uses: 30, + duration: 45, + cast: 0, + recast: 60, + jobs: ['all'], + combinations: [['14'], ['5', '13'], ['2', '2', '5']], + }, + { + name: 'Rejuvenate L', + description: 'Instantly restores 50% of maximum HP and MP.', + imageId: 29, + type: 'Ability', + uses: 50, + cast: 0, + recast: 30, + jobs: ['all'], + combinations: [ + ['14', '23'], + ['16', '21'], + ['1', '2', '5'], + ], + }, + { + name: 'Haymaker L', + description: 'Delivers an attack with a potency of 300.\nCan only be executed immediately after evading an attack.\nAdditional Effect: Slow +20%.', + imageId: 30, + type: 'Ability', + uses: 50, + duration: 30, + cast: 0, + recast: 30, + jobs: ['tank'], + combinations: [ + ['13', '19'], + ['2', '4', '19'], + ], + }, + { + name: 'Rapid Recast L', + description: 'Shortens recast time for next ability used by 50%.', + imageId: 31, + type: 'Ability', + uses: 50, + duration: 15, + cast: 0, + recast: 90, + jobs: ['tank', 'melee', 'ranged', 'magic'], + combinations: [ + ['8', '22'], + ['5', '8', '10'], + ], + }, + { + name: 'Cure L', + description: "Restores target's HP.\nCure Potency: 9,000.", + imageId: 32, + type: 'Spell', + uses: Infinity, + cast: 2, + recast: 2.5, + jobs: ['tank', 'melee', 'ranged', 'magic'], + combinations: [['5']], + }, + { + name: 'Cure L II', + description: "Restores target's HP.\nCure Potency: 12,000.", + imageId: 33, + type: 'Ability', + uses: 50, + cast: 0, + recast: 5, + jobs: ['melee', 'ranged', 'magic'], + combinations: [['18'], ['5', '17'], ['5', '5', '5'], ['9', '9', '9']], + }, + { + name: 'Stoneskin L', + description: "Creates a barrier around target that absorbs damage totaling 10% of target's maximum HP.", + imageId: 34, + type: 'Spell', + uses: 99, + duration: 30, + cast: 2, + recast: 2.5, + jobs: ['all'], + combinations: [['24'], ['12', '23'], ['12', '12', '12'], ['23', '23', '23']], + }, + { + name: 'Cure L III', + description: 'Restores HP of target and all party members nearby target.\nCure Potency: 9,000.', + imageId: 35, + type: 'Spell', + uses: 50, + cast: 2, + recast: 2.5, + jobs: ['tank', 'melee', 'ranged', 'magic'], + combinations: [ + ['14', '17'], + ['18', '18'], + ['5', '5', '17'], + ], + }, + { + name: 'Regen L', + description: 'Grants healing over time effect to target.\nCure Potency: 2,500.', + imageId: 36, + type: 'Spell', + uses: 99, + duration: 21, + cast: 0, + recast: 2.5, + jobs: ['tank', 'melee', 'ranged', 'magic'], + combinations: [ + ['11', '18'], + ['10', '18'], + ['5', '5', '10'], + ], + }, + { + name: 'Esuna L', + description: 'Removes a single detrimental effect from target.', + imageId: 37, + type: 'Spell', + uses: Infinity, + cast: 1, + recast: 2.5, + jobs: ['tank', 'melee', 'ranged', 'magic'], + combinations: [['8']], + }, + { + name: 'Incense L', + description: "Gesture threateningly, placing yourself at the top of the target's enmity list and increasing enmity generation.", + imageId: 38, + type: 'Ability', + uses: Infinity, + cast: 0, + recast: 20, + duration: 15, + jobs: ['melee', 'ranged', 'magic', 'healer'], + combinations: [['4']], + }, + { + name: 'Raise L', + description: 'Resurrects target to a weakened state.', + imageId: 39, + type: 'Spell', + uses: 99, + cast: 3, + recast: 2.5, + jobs: ['tank', 'melee', 'ranged', 'magic'], + combinations: [['9']], + }, + { + name: 'Bravery L', + description: "Increases target's damage dealt by 10%.", + imageId: 40, + type: 'Spell', + uses: 99, + duration: 300, + cast: 2.5, + recast: 2.5, + jobs: ['magic', 'healer'], + combinations: [['13', '15', '17']], + }, + { + name: 'Solid Shield L', + description: 'Reduces physical damage taken by 99%.', + imageId: 41, + type: 'Ability', + uses: 30, + duration: 8, + cast: 0, + recast: 300, + jobs: ['melee', 'ranged', 'magic', 'healer'], + combinations: [['15', '12', '24']], + }, + { + name: 'Spell Shield L', + description: 'Reduces magic damage taken by 99%.', + imageId: 42, + type: 'Ability', + uses: 30, + duration: 8, + cast: 0, + recast: 300, + jobs: ['melee', 'ranged', 'magic', 'healer'], + combinations: [['15', '23', '24']], + }, + { + name: 'Reflect L', + description: 'Creates a magic-reflecting barrier around self or party member.', + imageId: 43, + type: 'Spell', + uses: 99, + duration: 10, + cast: 0, + recast: 2.5, + jobs: ['all'], + combinations: [['12', '17', '23']], + }, + { + name: 'Smite L', + description: 'Delivers an attack with a potency of 1,000.\nCan only be executed when your HP is below 50%.\nAdditional Effect: Restores an amount of own HP proportional to damage dealt.', + imageId: 44, + type: 'Ability', + uses: 30, + cast: 0, + recast: 45, + jobs: ['tank'], + combinations: [['11', '13', '21']], + }, + { + name: 'Refresh L', + description: 'Increases the amount of magia aether regenerated over time by self and nearby party members.', + imageId: 45, + type: 'Spell', + uses: 99, + duration: 30, + cast: 3, + recast: 2.5, + jobs: ['healer'], + combinations: [['1', '17', '18']], + }, + { + name: 'Banish L', + description: 'Deals unaspected damage with a potency of 200.\nAdditional Effect: Afflicts undead targets with Banish L, increasing damage taken by 25%.', + imageId: 46, + type: 'Spell', + uses: 99, + duration: 60, + cast: 2.5, + recast: 2.5, + jobs: ['healer'], + combinations: [['1', '22', '22']], + }, + { + name: 'Banish L III', + description: 'Deals unaspected damage with a potency of 150 to target and all enemies nearby it.\nAdditional Effect: Afflicts undead targets with Banish L, increasing damage taken by 25%.', + imageId: 47, + type: 'Spell', + uses: 50, + duration: 60, + cast: 3, + recast: 2.5, + jobs: ['healer'], + combinations: [['17', '22', '22']], + }, + { + name: 'Magic Burst L', + description: 'Increases spell damage by 100% while increasing MP cost.', + imageId: 48, + type: 'Ability', + uses: 10, + duration: 20, + cast: 0, + recast: 90, + jobs: ['magic', 'healer'], + combinations: [['25'], ['16', '17', '24']], + }, + { + name: 'Double Edge L', + description: + 'Increases physical damage dealt while dealing damage to self over time.\nStacks increase every 3 seconds, up to a maximum of 16.\nFor each stack, physical damage dealt is increased by 15%, and potency of damage dealt to self increases by 1,200.', + imageId: 49, + type: 'Ability', + uses: 10, + duration: 48, + cast: 0, + recast: 90, + jobs: ['tank', 'melee'], + combinations: [['27'], ['13', '14', '15']], + }, + { + name: 'Eagle Eye Shot L', + description: "Delivers a ranged attack with a potency of 80.\nPotency increases up to 1,000% the lower the target's HP.\nGenerates significant enmity upon use.", + imageId: 50, + type: 'Weaponskill', + uses: 30, + cast: 0, + recast: 2.5, + jobs: ['ranged'], + combinations: [['26'], ['13', '16', '21']], + }, + { + name: 'Perception L', + description: 'Reveals all traps within a 15-yalm radius.\nIf no traps exist within 15 yalms, detects whether any traps are present within a 36-yalm radius.\nOnly effective within dungeons.', + imageId: 51, + type: 'Ability', + uses: 99, + cast: 0, + recast: 3.5, + jobs: ['melee', 'ranged', 'magic'], + combinations: [ + ['28', '28'], + ['20', '22', '28'], + ], + }, + { + name: 'Wisdom of the Elder', + description: + 'Increases magic damage dealt by 35% and magic defense by 1,000, while decreasing spell MP cost.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 52, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['magic'], + combinations: [ + ['1', '17', '25'], + ['15', '24', '25'], + ], + }, + { + name: 'Wisdom of the Duelist', + description: 'Increases physical damage dealt by 40% and maximum HP by 15%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 53, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['melee'], + combinations: [ + ['13', '13', '27'], + ['6', '14', '27'], + ], + }, + { + name: 'Wisdom of the Fiendhunter', + description: 'Increases physical damage dealt by 25% and evasion by 25%.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 54, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['ranged'], + combinations: [ + ['19', '21', '26'], + ['10', '11', '26'], + ], + }, + { + name: 'Wisdom of the Indomitable', + description: + 'Increases defense by 2,000.\nGrants one stack of HP Boost each time damage equal to or greater than half of maximum HP is taken from a single-target attack.\nCannot be used with other Wisdom abilities.\nEffect ends upon reuse or upon replacement of duty action.', + imageId: 55, + type: 'Spell', + uses: 3, + cast: 0, + recast: 10, + jobs: ['tank'], + combinations: [ + ['3', '4', '27'], + ['12', '16', '27'], + ], + }, + { + name: 'Sacrifice L', + description: "Restores 100% of target's HP, even if target is KO'd.\nCannot be executed if currently afflicted with Doom.\nAdditional Effect: Inflicts Doom on self.", + imageId: 56, + type: 'Spell', + uses: 10, + duration: 10, + cast: 3, + recast: 2.5, + jobs: ['healer'], + combinations: [['8', '9', '25']], + }, +]; + +const ActionNames = Actions.map((action) => action.name.toLowerCase()); + +const Presets: Map> = new Map([ + ['dps', [9, 10, 52, 14, 48]], + ['pl', [50, 13, 44, 39]], +]); + +export default { + Mnemes, + Actions, + ActionNames, + Presets, +}; diff --git a/src/generateActionEmbeds.ts b/src/generateActionEmbeds.ts new file mode 100644 index 0000000..bc49a03 --- /dev/null +++ b/src/generateActionEmbeds.ts @@ -0,0 +1,73 @@ +import { Embed } from '../deps.ts'; +import { LogosAction } from './types.d.ts'; +import data from './data.ts'; +import config from '../config.ts'; + +const getMnemeEmoji = (id: string): string => { + switch (id) { + case '1': + case '2': + case '13': + case '14': + case '25': + case '26': + case '27': + return config.mneme.red; + case '3': + case '4': + case '15': + case '16': + return config.mneme.blue; + case '5': + case '8': + case '9': + case '17': + case '18': + return config.mneme.green; + case '6': + case '10': + case '19': + case '20': + case '28': + return config.mneme.yellow; + case '7': + case '11': + case '21': + case '22': + return config.mneme.purple; + case '12': + case '23': + case '24': + return config.mneme.cyan; + default: + return '□'; + } +}; + +const getHumanDuration = (duration: number) => { + if (duration < 60) { + return `${duration}s`; + } else if (duration < (60 * 60)) { + return `${Math.round(duration / 60 * 10) / 10}m`; + } else { + return `${Math.round(duration / 60 / 60 * 10) / 10}h` + } +}; + +const generateActionEmbed = (action: LogosAction): Embed => ({ + title: action.name, + description: `**${action.type}** | ${action.duration ? `**Duration:** ${getHumanDuration(action.duration)} | ` : ''}**Uses:** ${action.uses === Infinity ? '∞' : action.uses} | **Cast:** ${ + action.cast === 0 ? 'Instant' : `${action.cast}s` + } | **Recast:** ${action.recast}s +${action.description}`, + thumbnail: { + url: `${config.imageUrl}${action.imageId}.png`, + }, + fields: action.combinations.map((combo, idx) => ({ + name: `Combination ${idx + 1}:`, + value: combo.map((mneme) => `${getMnemeEmoji(mneme)} ${data.Mnemes.get(mneme)}`).join('\n'), + inline: true, + })), +}); + +export const generateEmbeds = (actions: Array): Array => actions.map((actionIdx) => generateActionEmbed(data.Actions[actionIdx])); diff --git a/src/types.d.ts b/src/types.d.ts new file mode 100644 index 0000000..c2e48ef --- /dev/null +++ b/src/types.d.ts @@ -0,0 +1,12 @@ +export type LogosAction = { + name: string; + description: string; + imageId: number; + type: string; + uses: number; + duration?: number; + cast: number; + recast: number; + jobs: Array; + combinations: Array>; +}; diff --git a/src/utils.ts b/src/utils.ts new file mode 100644 index 0000000..4e8770a --- /dev/null +++ b/src/utils.ts @@ -0,0 +1,37 @@ +export const classToType = (classAbr: string) => { + switch (classAbr.toLowerCase()) { + case 'tank': + case 'pld': + case 'war': + case 'drk': + case 'gnb': + return 'tank'; + case 'healer': + case 'whm': + case 'sch': + case 'ast': + case 'sge': + return 'healer'; + case 'melee': + case 'mnk': + case 'drg': + case 'nin': + case 'sam': + case 'rpr': + case 'vpr': + return 'melee'; + case 'ranged': + case 'brd': + case 'mch': + case 'dnc': + return 'ranged'; + case 'magic': + case 'blm': + case 'smn': + case 'rdm': + case 'pct': + return 'magic'; + default: + return ''; + } +}; diff --git a/start.command b/start.command new file mode 100755 index 0000000..6bec692 --- /dev/null +++ b/start.command @@ -0,0 +1 @@ +deno run --allow-net --allow-write=./logs/ ./mod.ts