change how webhook information is in the webhook

This commit is contained in:
Zomatree
2023-04-01 22:49:34 +01:00
parent 01577fd798
commit 7b39f4e9d9
15 changed files with 31 additions and 33 deletions
@@ -9,7 +9,7 @@ impl AbstractMessage for DummyDb {
Ok(Message {
id: id.into(),
channel: "channel".into(),
author: Some("author".into()),
author: "author".into(),
content: Some("message content".into()),
..Default::default()
@@ -22,7 +22,7 @@ impl AbstractWebhook for DummyDb {
name: "".to_string(),
avatar: None,
channel: "0".to_string(),
token: "".to_owned(),
token: Some("".to_owned()),
})
}