feat: add reason to ServerMemberLeave event
closes #314 Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
committed by
IAmTomahawkx
parent
a9e309395e
commit
e17af1c064
@@ -229,6 +229,7 @@ impl Member {
|
||||
EventV1::ServerMemberLeave {
|
||||
id: self.id.server.to_string(),
|
||||
user: self.id.user.to_string(),
|
||||
reason: intention.clone().into(),
|
||||
}
|
||||
.p(self.id.server.to_string())
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user