diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index c46ce7d..73007e3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use confindent::Confindent; use database::{BoardRow, Database, Error as DbError, PermissionSetting}; use twilight_cache_inmemory::{DefaultInMemoryCache, ResourceType}; use twilight_gateway::{Event, EventTypeFlags, Intents, Shard, ShardId, StreamExt}; -use twilight_http::{Client as HttpClient, client::InteractionClient}; +use twilight_http::Client as HttpClient; use twilight_model::{ application::{ command::{Command, CommandType}, @@ -15,7 +15,7 @@ use twilight_model::{ }, }, gateway::payload::incoming::InteractionCreate, - http::interaction::{InteractionResponse, InteractionResponseData, InteractionResponseType}, + http::interaction::InteractionResponseData, id::{ Id, marker::{GuildMarker, UserMarker}, @@ -470,7 +470,7 @@ async fn import_cmd( brain: Arc<Brain>, guild: Id<GuildMarker>, create: &InteractionCreate, - data: &CommandData, + _data: &CommandData, ) { let member = create.member.clone().unwrap(); let permissions = member.permissions.unwrap(); |