bulking out the dispatch fn
This commit is contained in:
1 parent
7dac9f7895
commit
c2c5e79940
4 files changed
+94
-7
No files matched your search
+1
-1
@@ -54,7 +54,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
||||
|
||||
println!("{:?}", HELP_COMMAND);
|
||||
|
||||
let framework = RegexFramework::new()
|
||||
let framework = RegexFramework::new(env::var("CLIENT_ID").expect("Missing CLIENT_ID from environment").parse()?)
|
||||
.ignore_bots(true)
|
||||
.default_prefix("$")
|
||||
.add_command("help".to_string(), &HELP_COMMAND)
|
||||
|
||||
Reference in new issue
Block a user