feat: add reason to ServerMemberLeave event

closes #314

Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
Paul Makles
2024-07-10 14:12:53 +01:00
committed by IAmTomahawkx
parent a9e309395e
commit e17af1c064
3 changed files with 9 additions and 4 deletions

View File

@@ -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;