Skip to content

Commit 0a119d9

Browse files
committed
refactor: change prefix to $
1 parent 6be109c commit 0a119d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bot.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ use serenity::all::GatewayIntents;
66

77
use crate::{commands, queue::WaffleQueue};
88

9+
const PREFIX: &str = "$";
10+
911
pub type Error = Box<dyn std::error::Error + Send + Sync>;
1012
pub type Context<'a> = poise::Context<'a, Data, Error>;
1113

@@ -34,7 +36,7 @@ impl WaffleBot {
3436
commands::waffle::waffle(),
3537
],
3638
prefix_options: poise::PrefixFrameworkOptions {
37-
prefix: Some("!".into()),
39+
prefix: Some(PREFIX.into()),
3840
..Default::default()
3941
},
4042
..Default::default()

0 commit comments

Comments
 (0)