removed framework impl
This commit is contained in:
@ -9,16 +9,13 @@ use std::{
|
||||
use log::info;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serenity::{
|
||||
async_trait,
|
||||
builder::{CreateApplicationCommands, CreateComponents, CreateEmbed},
|
||||
cache::Cache,
|
||||
client::Context,
|
||||
framework::Framework,
|
||||
futures::prelude::future::BoxFuture,
|
||||
http::Http,
|
||||
model::{
|
||||
channel::Message,
|
||||
guild::{Guild, Member},
|
||||
guild::Guild,
|
||||
id::{ChannelId, GuildId, RoleId, UserId},
|
||||
interactions::{
|
||||
application_command::{
|
||||
@ -689,8 +686,3 @@ impl RegexFramework {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl Framework for RegexFramework {
|
||||
async fn dispatch(&self, _ctx: Context, _msg: Message) {}
|
||||
}
|
||||
|
@ -244,7 +244,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
||||
})
|
||||
.application_id(application_id.0)
|
||||
.event_handler(Handler)
|
||||
.framework_arc(framework_arc.clone())
|
||||
.await
|
||||
.expect("Error occurred creating client");
|
||||
|
||||
|
Reference in New Issue
Block a user