diff --git a/src/main.rs b/src/main.rs index 803cb9c..18e2d27 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ struct Data {} type Error = Box; type Context<'a> = poise::Context<'a, Data, Error>; -// Basically a ping command +// Basically a ping command. Should be moved to a mod. #[poise::command(slash_command, prefix_command)] async fn slur( ctx: Context<'_>, @@ -19,7 +19,7 @@ async fn slur( async fn main() { let framework = poise::Framework::builder() .options(poise::FrameworkOptions { - commands: vec![slur()], + commands: vec![slur()], // Intellij doesn't like this, but it's fine. ..Default::default() }) .token(std::env::var("DISCORD_TOKEN").expect("missing DISCORD_TOKEN")) @@ -32,4 +32,4 @@ async fn main() { }); framework.run().await.unwrap(); -} \ No newline at end of file +}