diff --git a/README.md b/README.md index 042147a..012da09 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Logogram Discord Bot - A FFXIV Eureka Utility Bot | V1.1.2 - 2025/09/13 +# Logogram Discord Bot - A FFXIV Eureka Utility Bot | V1.1.3 - 2025/09/14 A Discord bot for Eureka Logos Actions and their recipes. ## Commands @@ -14,6 +14,8 @@ A Discord bot for Eureka Logos Actions and their recipes. - Use to view more search results - `preset` or `p` - Shows a pre-made list of actions for convenient viewing +- `flowchart` or `flow` or `f` + - Shows a simple flowchart for best actions - `info` or `i` - Shows info about bot - `version` or `v` diff --git a/config.example.ts b/config.example.ts index 0ccd490..0f5f04e 100755 --- a/config.example.ts +++ b/config.example.ts @@ -1,6 +1,6 @@ export const config = { 'name': 'Logogram Bot', // Name of the bot - 'version': '1.1.2', // Version of the bot + 'version': '1.1.3', // 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 diff --git a/mod.ts b/mod.ts index a614cc5..7f68af4 100755 --- a/mod.ts +++ b/mod.ts @@ -94,6 +94,12 @@ startBot({ message.send(constantCmds.version).catch((e) => { log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); }); + } else if (command === 'flowchart' || command === 'flow' || command === 'f') { + // l!flowchart or l!flow or l!logos or l!f + // Returns logos actions stuff + message.send(constantCmds.flowchart).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 diff --git a/src/constantCmds.ts b/src/constantCmds.ts index 07ec8dc..6510a6f 100755 --- a/src/constantCmds.ts +++ b/src/constantCmds.ts @@ -32,6 +32,11 @@ export const constantCmds = { value: 'Sends information about the requested preset list', inline: true, }, + { + name: `\`${config.prefix}flowchart]\` or \`${config.prefix}f\``, + value: 'Shows a simple flowchart for best actions', + inline: true, + }, ], }], }, @@ -55,4 +60,5 @@ export const constantCmds = { description: `Please type something after the command, such as \`${config.prefix}logos wisdom\`.`, }], }, + flowchart: 'https://ffxiv.eanm.dev/eureka/Simple-Logos-Flowchart.png', };