diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-31 01:53:47 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-31 01:53:47 -0400 |
| commit | ab72ce14c8ee1c331b1c525c42cff0bba36939a1 (patch) | |
| tree | 1d37e181705f7c99fde393c76f5920ce34863acf /bot/src/commands/info.js | |
| parent | 49cc420662e2873516ede1fff0e9fc7d84680d31 (diff) | |
| download | AleeBot-ab72ce14c8ee1c331b1c525c42cff0bba36939a1.tar.gz AleeBot-ab72ce14c8ee1c331b1c525c42cff0bba36939a1.tar.bz2 AleeBot-ab72ce14c8ee1c331b1c525c42cff0bba36939a1.zip | |
Fixed issue with nick changes; More info on git commit & db version
Diffstat (limited to 'bot/src/commands/info.js')
| -rw-r--r-- | bot/src/commands/info.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bot/src/commands/info.js b/bot/src/commands/info.js index 33e1665..18d01c9 100644 --- a/bot/src/commands/info.js +++ b/bot/src/commands/info.js @@ -1,5 +1,7 @@ import { SlashCommandBuilder, EmbedBuilder, version } from 'discord.js'; import { hostname, platform, release } from 'os'; +import { Sequelize } from 'sequelize'; +import { sequelize } from '../utils/sequelize.js'; import { abEmbedColour } from '../storage/consts.js'; export default { @@ -11,10 +13,12 @@ export default { .setTitle('Information on AleeBot\'s Host') .addFields( { name: 'OS Hostname: ', value: hostname(), inline: true }, + { name: 'OS Version: ', value: release(), inline: true }, + { name: 'OS Platform: ', value: platform(), inline: true }, { name: 'NodeJS Version: ', value: process.versions.node, inline: true }, { name: 'Discord.JS Version: ', value: version, inline: true }, - { name: 'OS Platform: ', value: platform(), inline: true }, - { name: 'OS Version: ', value: release(), inline: true } + { name: 'Sequelize Version: ', value: Sequelize.version, inline: true }, + { name: 'Database Type: ', value: sequelize.getDialect(), inline: true } ) .setColor(abEmbedColour); return await interaction.reply({ embeds: [hostEmbed] }); |
