Enhance bot and WebUI functionality with new features and environment updates

- Added support for new environment variables in `.env.example` for public site and legal operator information.
- Integrated core commands into the bot's command structure for improved functionality.
- Implemented a new `publishBotStatus` function to update bot status in Redis, enhancing monitoring capabilities.
- Updated the landing page to include features, invite links, and support server access, improving user experience.
- Enhanced localization with new keys for core commands and landing page elements in both English and German.
- Improved error handling and logging for bot presence updates and status publishing.
This commit is contained in:
smueller
2026-07-22 16:47:09 +02:00
parent 0b4ac0da29
commit 4852f16f79
32 changed files with 1579 additions and 83 deletions

View File

@@ -0,0 +1,24 @@
import { SlashCommandBuilder } from 'discord.js';
import { applyCommandDescription, applyOptionDescription } from '@nexumi/shared';
export const helpCommandData = applyCommandDescription(
new SlashCommandBuilder().setName('help'),
'core.help.description'
).addStringOption((option) =>
applyOptionDescription(option.setName('module'), 'core.help.options.module')
);
export const infoCommandData = applyCommandDescription(
new SlashCommandBuilder().setName('info'),
'core.info.description'
);
export const inviteCommandData = applyCommandDescription(
new SlashCommandBuilder().setName('invite'),
'core.invite.description'
);
export const supportCommandData = applyCommandDescription(
new SlashCommandBuilder().setName('support'),
'core.support.description'
);