This commit is contained in:
parent
1b6edcced4
commit
2f989b25b4
3 changed files with 34 additions and 17 deletions
|
|
@ -13,7 +13,7 @@ use std::env;
|
|||
async fn main() {
|
||||
dotenv::dotenv().ok();
|
||||
|
||||
let token = env::var("PROFESSOR_TOKEN").expect("Token not specified");
|
||||
let token = env::var("SPACEBOT_TOKEN").expect("Token not specified");
|
||||
let intents = GatewayIntents::GUILD_MESSAGES | GatewayIntents::MESSAGE_CONTENT;
|
||||
|
||||
let mut client = Client::builder(&token, intents)
|
||||
|
|
|
|||
Loading…
Reference in a new issue