feat(discord): Commands description

- Added english commands description
- Added russian commands description
- Changed override option on /quest update to reset dates
- Commented out all deadline functionality
This commit is contained in:
Alexey 2025-12-18 13:33:42 +03:00
commit 60aa5fcb34
8 changed files with 191 additions and 22 deletions

View file

@ -43,8 +43,8 @@ async fn main() {
.options(poise::FrameworkOptions {
on_error: |err| Box::pin(error_handler(err)),
commands: vec![
//commands::register(),
commands::quest::quest(),
commands::register(),
commands::info(),
commands::init::init(),
commands::answer::answer(),
@ -57,9 +57,9 @@ async fn main() {
],
..Default::default()
})
.setup(|ctx, _ready, framework| {
.setup(|ctx, _ready, _framework| {
Box::pin(async move {
poise::builtins::register_globally(ctx, &framework.options().commands).await?;
//poise::builtins::register_globally(ctx, &framework.options().commands).await?;
Ok(Data {
config,
discord: Arc::new(Mutex::new(discord)),