Compare commits

..

No commits in common. "30547e9d6a14ae14dd4ff8b9ba8529de019daff3" and "0bf818288a3028fd36c267a93cf7bc75c28a0ed5" have entirely different histories.

6 changed files with 303 additions and 328 deletions

View File

@ -1,4 +1,4 @@
# Logogram Discord Bot - A FFXIV Eureka Utility Bot | V1.2.0 - 2025/09/21 # Logogram Discord Bot - A FFXIV Eureka Utility Bot | V1.1.6 - 2025/09/21
A Discord bot for Eureka Logos Actions and their recipes. A Discord bot for Eureka Logos Actions and their recipes.
## Commands ## Commands

View File

@ -1,32 +1,30 @@
export const config = { export const config = {
name: 'Logogram Bot', // Name of the bot 'name': 'Logogram Bot', // Name of the bot
version: '1.2.0', // Version of the bot 'version': '1.1.6', // 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
logChannel: 0n, // Discord channel ID where the bot should put startup messages and other error messages needed '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 '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 '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 'owner': 0n, // Discord user ID of the bot admin
imageUrl: '', // Base URL for logos action images 'imageUrl': '', // Base URL for logos action images
resultsPerPage: 5, // Results to show on each page 'resultsPerPage': 5, // Results to show on each page
mneme: { 'mneme': { // Emojis for the mnemes
// Emojis for the mnemes 'blue': '',
blue: '', 'cyan': '',
cyan: '', 'green': '',
green: '', 'purple': '',
purple: '', 'red': '',
red: '', 'yellow': '',
yellow: '', },
}, 'jobType': { // Emojis for job type icons
jobType: { 'tank': '',
// Emojis for job type icons 'healer': '',
tank: '', 'melee': '',
healer: '', 'ranged': '',
melee: '', 'magic': '',
ranged: '', },
magic: '', };
},
}; export default config;
export default config;

View File

@ -1,11 +1,14 @@
{ {
"compilerOptions": { "compilerOptions": {
"allowJs": true,
"lib": ["deno.worker"], "lib": ["deno.worker"],
"strict": true "strict": true
}, },
"lint": { "lint": {
"include": ["src/", "db/", "mod.ts", "deps.ts", "config.ts", "config.example.ts"], "files": {
"exclude": [], "include": ["src/", "db/", "mod.ts", "deps.ts", "config.ts", "config.example.ts"],
"exclude": []
},
"rules": { "rules": {
"tags": ["recommended"], "tags": ["recommended"],
"include": ["ban-untagged-todo"], "include": ["ban-untagged-todo"],
@ -13,12 +16,16 @@
} }
}, },
"fmt": { "fmt": {
"include": ["src/", "db/", "mod.ts", "deps.ts", "config.ts", "config.example.ts"], "files": {
"exclude": [], "include": ["src/", "db/", "mod.ts", "deps.ts", "config.ts", "config.example.ts"],
"useTabs": false, "exclude": []
"lineWidth": 250, },
"indentWidth": 2, "options": {
"singleQuote": true, "useTabs": true,
"proseWrap": "preserve" "lineWidth": 250,
"indentWidth": 2,
"singleQuote": true,
"proseWrap": "preserve"
}
} }
} }

13
deps.ts
View File

@ -1,5 +1,12 @@
export { cache, cacheHandlers, DiscordActivityTypes, editBotNickname, editBotStatus, Intents, sendMessage, startBot } from 'https://deno.land/x/discordeno@12.0.1/mod.ts'; export {
startBot, editBotStatus, editBotNickname,
sendMessage,
Intents, DiscordActivityTypes,
cache, cacheHandlers
} from "https://deno.land/x/discordeno@12.0.1/mod.ts";
export type { DiscordenoGuild, DiscordenoMessage, Embed } 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'; export { initLog, log, LogTypes as LT } from 'https://raw.githubusercontent.com/Burn-E99/Log4Deno/V1.1.1/mod.ts';

413
mod.ts
View File

@ -1,17 +1,17 @@
import { import {
DiscordActivityTypes, DiscordActivityTypes,
DiscordenoGuild, DiscordenoGuild,
DiscordenoMessage, DiscordenoMessage,
editBotNickname, editBotNickname,
editBotStatus, editBotStatus,
// Log4Deno deps // Log4Deno deps
initLog, initLog,
Intents, Intents,
log, log,
LT, LT,
sendMessage, sendMessage,
// Discordeno deps // Discordeno deps
startBot, startBot,
} from './deps.ts'; } from './deps.ts';
import { constantCmds } from './src/constantCmds.ts'; import { constantCmds } from './src/constantCmds.ts';
@ -26,226 +26,189 @@ import { classToType } from './src/utils.ts';
initLog('logs', DEBUG); initLog('logs', DEBUG);
startBot({ startBot({
token: LOCALMODE ? config.localToken : config.token, token: LOCALMODE ? config.localToken : config.token,
intents: [Intents.GuildMessages, Intents.DirectMessages, Intents.Guilds], intents: [Intents.GuildMessages, Intents.DirectMessages, Intents.Guilds],
eventHandlers: { eventHandlers: {
ready: () => { ready: () => {
editBotStatus({ editBotStatus({
activities: [ activities: [{
{ name: 'Booting up . . .',
name: 'Booting up . . .', type: DiscordActivityTypes.Game,
type: DiscordActivityTypes.Game, createdAt: new Date().getTime(),
createdAt: new Date().getTime(), }],
}, status: 'online',
], });
status: 'online',
});
// setTimeout added to make sure the startup message does not error out // setTimeout added to make sure the startup message does not error out
setTimeout(() => { setTimeout(() => {
LOCALMODE && editBotNickname(config.devServer, `LOCAL - ${config.name}`); LOCALMODE && editBotNickname(config.devServer, `LOCAL - ${config.name}`);
editBotStatus({ editBotStatus({
activities: [ activities: [{
{ name: 'Booting Complete',
name: 'Booting Complete', type: DiscordActivityTypes.Game,
type: DiscordActivityTypes.Game, createdAt: new Date().getTime(),
createdAt: new Date().getTime(), }],
}, status: 'online',
], });
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)}`);
sendMessage(config.logChannel, `${config.name} has started, running version ${config.version}.`).catch((e) => { });
log(LT.ERROR, `Failed to send message: ${JSON.stringify(e)}`); }, 1000);
}); },
}, 1000); guildCreate: (guild: DiscordenoGuild) => {
}, sendMessage(config.logChannel, `New guild joined: ${guild.name} (id: ${guild.id}). This guild has ${guild.memberCount} members!`).catch((e) => {
guildCreate: (guild: DiscordenoGuild) => { log(LT.ERROR, `Failed to send message: ${JSON.stringify(e)}`);
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) => {
guildDelete: (guild: DiscordenoGuild) => { log(LT.ERROR, `Failed to send message: ${JSON.stringify(e)}`);
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
messageCreate: (message: DiscordenoMessage) => { if (message.isBot) return;
// Ignore all other bots
if (message.isBot) return;
// Ignore all messages that are not commands // Ignore all messages that are not commands
if (message.content.indexOf(config.prefix) !== 0) return; if (message.content.indexOf(config.prefix) !== 0) return;
// Split into standard command + args format // Split into standard command + args format
const args = message.content const args = message.content.slice(config.prefix.length).trim().split(/[ \n]+/g);
.slice(config.prefix.length) const command = args.shift()?.toLowerCase();
.trim()
.split(/[ \n]+/g);
const command = args.shift()?.toLowerCase();
if (command === 'help' || command === 'h' || command === '?') { if (command === 'help' || command === 'h' || command === '?') {
// l!help or l!h or l!? // l!help or l!h or l!?
// Help command, prints from help file // Help command, prints from help file
message.send(constantCmds.help).catch((e) => { message.send(constantCmds.help).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 === 'info' || command === 'i') { } else if (command === 'info' || command === 'i') {
// l!info or l!i // l!info or l!i
// Info command, prints short desc on bot and some links // Info command, prints short desc on bot and some links
message.send(constantCmds.info).catch((e) => { message.send(constantCmds.info).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 === 'version' || command === 'v') { } else if (command === 'version' || command === 'v') {
// l!version or l!v // l!version or l!v
// Returns version of the bot // Returns version of the bot
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') { } else if (command === 'flowchart' || command === 'flow' || command === 'f') {
// l!flowchart or l!flow or l!logos or l!f // l!flowchart or l!flow or l!logos or l!f
// Returns logos actions stuff // Returns logos actions stuff
message.send(constantCmds.flowchart).catch((e) => { message.send(constantCmds.flowchart).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 === '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
if (!args.length) { if (!args.length) {
message.send(constantCmds.logogramsNoQuery).catch((e) => { message.send(constantCmds.logogramsNoQuery).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 { } else {
const params = { const params = {
class: '', class: '',
rawClass: '', rawClass: '',
isNin: false, isNin: false,
page: 1, page: 1,
debug: false, debug: false,
}; };
const classPrefixes = ['-class=', 'class=', '-c=', 'c=']; const classPrefixes = ['-class=', 'class=', '-c=', 'c='];
const pagePrefixes = ['-page=', 'page=', '-p=', 'p=']; const pagePrefixes = ['-page=', 'page=', '-p=', 'p='];
const debugPrefixes = ['-debug=', 'debug=', '-d=', 'd=']; const debugPrefixes = ['-debug=', 'debug=', '-d=', 'd='];
const allPrefixes = classPrefixes.concat(pagePrefixes).concat(debugPrefixes); const allPrefixes = classPrefixes.concat(pagePrefixes).concat(debugPrefixes);
args.forEach((arg) => { args.forEach((arg) => {
if (classPrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))) { if (classPrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))) { //
// params.rawClass = arg.split('=')[1];
params.rawClass = arg.split('=')[1]; params.class = classToType(params.rawClass);
params.class = classToType(params.rawClass); params.isNin = params.rawClass.toLowerCase() === 'nin';
params.isNin = params.rawClass.toLowerCase() === 'nin'; } else if (pagePrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))) {
} else if (pagePrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))) { params.page = parseInt(arg.split('=')[1]);
params.page = parseInt(arg.split('=')[1]); } else if (debugPrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))) {
} else if (debugPrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))) { params.debug = true;
params.debug = true; }
} });
});
const cleanArgs = args.filter((arg) => !allPrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))); const cleanArgs = args.filter((arg) => !(allPrefixes.some((pfx) => arg.toLowerCase().startsWith(pfx))));
const rawQuery = cleanArgs.join(' '); const rawQuery = cleanArgs.join(' ');
const query = rawQuery.toLowerCase(); const query = rawQuery.toLowerCase();
if (data.ActionNames.includes(query)) { if (data.ActionNames.includes(query)) {
log(LT.LOG, `in name matched '${query}'`); log(LT.LOG, `in name matched '${query}'`);
const singleAction: Array<number> = [data.ActionNames.indexOf(query)]; const singleAction: Array<number> = [data.ActionNames.indexOf(query)];
message message.send({
.send({ content: 'Showing single action:',
content: 'Showing single action:', embeds: generateEmbeds(singleAction, params.debug),
embeds: generateEmbeds(singleAction, params.debug), }).catch((e) => {
}) log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`);
.catch((e) => { });
log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); } else if (query && data.ActionShortNames.includes(query)) {
}); log(LT.LOG, `in shorthand matched '${query}'`);
} else if (query && data.ActionShortNames.includes(query)) { const searchResults: Array<number> = data.Actions.filter((action) => action.shorthand === query).map((action) => data.ActionNames.indexOf(action.name.toLowerCase()));
log(LT.LOG, `in shorthand matched '${query}'`); message.send({
const searchResults: Array<number> = data.Actions.filter((action) => action.shorthand === query).map((action) => data.ActionNames.indexOf(action.name.toLowerCase())); content: searchResults.length > 1 ? `Showing ${searchResults.length} actions:` : 'Showing single action:',
message embeds: generateEmbeds(searchResults, params.debug),
.send({ }).catch((e) => {
content: searchResults.length > 1 ? `Showing ${searchResults.length} actions:` : 'Showing single action:', log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`);
embeds: generateEmbeds(searchResults, params.debug), });
}) } else {
.catch((e) => { log(LT.LOG, `in general search '${query}'`);
log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); const initialSearchResults: Array<number> = data.ActionNames.filter((action) => action.includes(query)).map((action) => data.ActionNames.indexOf(action));
}); const searchResults: Array<number> = initialSearchResults.filter((actionIdx) =>
} else { 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
log(LT.LOG, `in general search '${query}'`); );
const initialSearchResults: Array<number> = data.ActionNames.filter((action) => action.includes(query)).map((action) => data.ActionNames.indexOf(action));
const searchResults: Array<number> = 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) { if (searchResults.length) {
const totalPages = Math.ceil(searchResults.length / config.resultsPerPage); const totalPages = Math.ceil(searchResults.length / config.resultsPerPage);
if (params.page > totalPages) { if (params.page > totalPages) {
params.page = totalPages; params.page = totalPages;
} }
const classMessage = params.class ? ` -class=${params.rawClass}` : ''; const classMessage = params.class ? ` -class=${params.rawClass}` : '';
const userQuery = `${rawQuery}${classMessage}`.trim(); const userQuery = `${rawQuery}${classMessage}`.trim();
const paginationMessage = searchResults.length > config.resultsPerPage 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.` ? `\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 message.send({
.send({ content: `${searchResults.length} result${searchResults.length > 1 ? 's' : ''} matching query: \`${userQuery}\`${paginationMessage}`,
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), params.debug),
embeds: generateEmbeds(searchResults.slice((params.page - 1) * config.resultsPerPage, config.resultsPerPage * params.page), params.debug), }).catch((e) => {
}) log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`);
.catch((e) => { });
log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); } else {
}); message.send({
} else { content: `No results found matching query: \`${rawQuery}\``,
message }).catch((e) => {
.send({ log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`);
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(' ');
} else if (command === 'preset' || command === 'p') { const query = rawQuery.toLowerCase();
// l!preset or l!p
// Returns logos actions stuff
const rawQuery = args.join(' ');
const query = rawQuery.toLowerCase();
if (data.Presets.has(query)) { if (data.Presets.has(query)) {
const preset: Array<number> = data.Presets.get(query) ?? []; const preset: Array<number> = data.Presets.get(query) ?? [];
message message.send({
.send({ content: `Showing ${rawQuery} Preset:`,
content: `Showing ${rawQuery} Preset:`, embeds: generateEmbeds(preset, false),
embeds: generateEmbeds(preset, false), }).catch((e) => {
}) log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`);
.catch((e) => { });
log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`); } else {
}); message.send({
} else if (!query) { content: `No preset found matching query: \`${rawQuery}\``,
message }).catch((e) => {
.send({ log(LT.ERROR, `Failed to send message: ${JSON.stringify(message)} | ${JSON.stringify(e)}`);
content: `Available presets: ${ });
data.Presets.keys() }
.toArray() }
.map((p) => `\`${p}\``) },
.join(', ') },
}`,
})
.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)}`);
});
}
}
},
},
}); });

View File

@ -3,62 +3,62 @@ import config from '../config.ts';
const errorColor = 0xe71212; const errorColor = 0xe71212;
export const constantCmds = { export const constantCmds = {
help: { help: {
embeds: [{ embeds: [{
title: `${config.name}'s Available Commands:`, title: `${config.name}'s Available Commands:`,
fields: [ fields: [
{ {
name: `\`${config.prefix}?\``, name: `\`${config.prefix}?\``,
value: 'This command', value: 'This command',
inline: true, inline: true,
}, },
{ {
name: `\`${config.prefix}info\``, name: `\`${config.prefix}info\``,
value: 'Prints some information and links relating to the bot', value: 'Prints some information and links relating to the bot',
inline: true, inline: true,
}, },
{ {
name: `\`${config.prefix}version\``, name: `\`${config.prefix}version\``,
value: 'Prints the bots version', value: 'Prints the bots version',
inline: true, inline: true,
}, },
{ {
name: `\`${config.prefix}logograms [query]\` or \`${config.prefix}l [query]\``, 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', 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, inline: true,
}, },
{ {
name: `\`${config.prefix}preset [query]\` or \`${config.prefix}p [query]\``, name: `\`${config.prefix}preset [query]\` or \`${config.prefix}p [query]\``,
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\``, name: `\`${config.prefix}flowchart]\` or \`${config.prefix}f\``,
value: 'Shows a simple flowchart for best actions', value: 'Shows a simple flowchart for best actions',
inline: true, inline: true,
}, },
], ],
}], }],
}, },
info: { info: {
embeds: [{ embeds: [{
fields: [{ fields: [{
name: `${config.name}, a Discord bot for Eureka Logogram Actions.`, 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.`, 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: { version: {
embeds: [{ embeds: [{
title: `My current version is ${config.version}`, title: `My current version is ${config.version}`,
}], }],
}, },
logogramsNoQuery: { logogramsNoQuery: {
embeds: [{ embeds: [{
color: errorColor, color: errorColor,
title: 'No query provided!', title: 'No query provided!',
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', flowchart: 'https://ffxiv.eanm.dev/eureka/Simple-Logos-Flowchart.png',
}; };