diff options
Diffstat (limited to 'src/system/bot')
-rw-r--r-- | src/system/bot/gateway.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/bot/gateway.rs b/src/system/bot/gateway.rs index 5a343d1..bfe4603 100644 --- a/src/system/bot/gateway.rs +++ b/src/system/bot/gateway.rs @@ -80,9 +80,9 @@ impl Gateway { } } Ok(event) => match event { - twilight_gateway::Event::Ready(_) => { + twilight_gateway::Event::Ready(ready) => { system_channel - .send(SystemEvent::GatewayConnected(bot_conf.member_id)) + .send(SystemEvent::GatewayConnected(bot_conf.member_id, ready.user.id)) .await; } |