changed Args to String because we dont need that
This commit is contained in:
21
src/main.rs
21
src/main.rs
@ -4,21 +4,11 @@ mod commands;
|
||||
use serenity::{
|
||||
client::{
|
||||
bridge::gateway::GatewayIntents,
|
||||
Client, Context,
|
||||
},
|
||||
model::{
|
||||
channel::{
|
||||
Message,
|
||||
},
|
||||
},
|
||||
framework::standard::{
|
||||
Args, CommandResult,
|
||||
Client,
|
||||
},
|
||||
prelude::TypeMapKey,
|
||||
};
|
||||
|
||||
use regex_command_attr::command;
|
||||
|
||||
use sqlx::{
|
||||
Pool,
|
||||
mysql::{
|
||||
@ -85,12 +75,3 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[command]
|
||||
#[permission_level(Managed)]
|
||||
#[supports_dm(false)]
|
||||
async fn look(_ctx: &Context, _msg: &Message, _args: Args) -> CommandResult {
|
||||
println!("Help command called");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user