Add flowchart command
This commit is contained in:
parent
05ddddf145
commit
73b958d076
|
@ -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.
|
A Discord bot for Eureka Logos Actions and their recipes.
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
@ -14,6 +14,8 @@ A Discord bot for Eureka Logos Actions and their recipes.
|
||||||
- Use to view more search results
|
- Use to view more search results
|
||||||
- `preset` or `p`
|
- `preset` or `p`
|
||||||
- Shows a pre-made list of actions for convenient viewing
|
- 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`
|
- `info` or `i`
|
||||||
- Shows info about bot
|
- Shows info about bot
|
||||||
- `version` or `v`
|
- `version` or `v`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export const config = {
|
export const config = {
|
||||||
'name': 'Logogram Bot', // Name of the bot
|
'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
|
'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"
|
'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
|
'prefix': 'l!', // Prefix for all commands
|
||||||
|
|
6
mod.ts
6
mod.ts
|
@ -94,6 +94,12 @@ startBot({
|
||||||
message.send(constantCmds.version).catch((e) => {
|
message.send(constantCmds.version).catch((e) => {
|
||||||
log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(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') {
|
} 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
|
// l!logograms or l!logograms or l!logos or l!logo or l!l
|
||||||
// Returns logos actions stuff
|
// Returns logos actions stuff
|
||||||
|
|
|
@ -32,6 +32,11 @@ export const constantCmds = {
|
||||||
value: 'Sends information about the requested preset list',
|
value: 'Sends information about the requested preset list',
|
||||||
inline: true,
|
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\`.`,
|
description: `Please type something after the command, such as \`${config.prefix}logos wisdom\`.`,
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
flowchart: 'https://ffxiv.eanm.dev/eureka/Simple-Logos-Flowchart.png',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue