feat: Implemented guild check

- Also added more error logging
This commit is contained in:
Alexey 2025-12-24 17:46:22 +03:00
commit d188bba16e
8 changed files with 51 additions and 9 deletions

View file

@ -1,13 +1,14 @@
use poise::serenity_prelude::{Attachment, ComponentInteractionCollector, CreateActionRow, CreateAttachment, CreateButton, CreateMessage, EditMessage};
use squad_quest::SquadObject;
use crate::{Context, Error, account::fetch_or_init_account};
use crate::{Context, Error, account::fetch_or_init_account, commands::guild};
/// Send an answer to the quest for review
#[poise::command(
prefix_command,
slash_command,
guild_only,
check = "guild",
name_localized("ru", "ответить"),
description_localized("ru", "Отправить ответ на квест на проверку"),
)]