forked from jmug/stoatchat
change how webhook information is in the webhook
This commit is contained in:
@@ -43,7 +43,7 @@ pub async fn req(
|
||||
return Err(Error::NotFound);
|
||||
}
|
||||
|
||||
if message.author.as_deref().unwrap_or_default() != user.id {
|
||||
if message.author != user.id {
|
||||
return Err(Error::CannotEditMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user