feat(main): adding default Gateway to the bot
This commit is contained in:
parent
e3834bd289
commit
f8cdacbd49
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ async fn main() {
|
||||||
let token: String =
|
let token: String =
|
||||||
env::var("DISCORD_TOKEN").expect("❌ | DISCORD_TOKEN missing (check the env file)");
|
env::var("DISCORD_TOKEN").expect("❌ | DISCORD_TOKEN missing (check the env file)");
|
||||||
|
|
||||||
let intents: GatewayIntents = GatewayIntents::empty();
|
let intents: GatewayIntents = GatewayIntents::default();
|
||||||
|
|
||||||
let bot: Bot = Bot {
|
let bot: Bot = Bot {
|
||||||
commands: commands::import(),
|
commands: commands::import(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue