This commit is contained in:
2024-05-13 21:33:22 +02:00
parent 1f6cc010e0
commit bd7816fd76
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ pub fn register() -> CreateCommand {
.description("Не вызывать, только для настройки")
.add_option(
CreateCommandOption::new(
CommandOptionType::Integer, "message_id", "ID сообщения"
CommandOptionType::String, "message_id", "ID сообщения"
)
.required(true)
)

View File

@@ -1,5 +1,5 @@
use reqwest::Url;
use serenity::all::{ActivityData, CreateInteractionResponse, CreateInteractionResponseMessage, CreateMessage, GuildId, Interaction};
use serenity::all::{ActivityData, CreateInteractionResponse, CreateInteractionResponseMessage, GuildId, Interaction};
use serenity::async_trait;
use serenity::model::channel::Message;
use serenity::prelude::*;