Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Commit 1b4a3e6

Browse files
committed
fix rebase issue
1 parent dc84270 commit 1b4a3e6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: src/core/gearbot.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,14 @@ pub async fn run(
5959

6060
let cache = Cache::new(scheme_info.cluster_id, stats.clone());
6161

62-
let mut cb = Cluster::builder(&config.tokens.discord)
62+
let mut cb = Cluster::builder(&config.tokens.discord, intents)
6363
.shard_scheme(sharding_scheme)
64-
.intents(intents)
6564
.presence(UpdateStatusInfo::new(
66-
true,
67-
bot_status::generate_activity(
65+
vec![bot_status::generate_activity(
6866
ActivityType::Listening,
6967
String::from("to the modem screeching as I connect to the gateway"),
70-
),
68+
)],
69+
true,
7170
None,
7271
Status::Idle,
7372
));

0 commit comments

Comments
 (0)