Various fixes I forgot to push
This commit is contained in:
parent
95f6bc202d
commit
f64c5f02f2
6 changed files with 21 additions and 17 deletions
|
@ -514,8 +514,10 @@ class channel{
|
|||
|
||||
} else if (Notification.permission === "granted") {
|
||||
let noticontent=markdown(message.content).textContent;
|
||||
noticontent||=message.embeds[0].json.title;
|
||||
noticontent||=markdown(message.embeds[0].json.description).textContent;
|
||||
if(message.embeds[0]){
|
||||
noticontent||=message.embeds[0].json.title;
|
||||
noticontent||=markdown(message.embeds[0].json.description).textContent;
|
||||
}
|
||||
noticontent||="Blank Message";
|
||||
let imgurl=null;
|
||||
const images=message.getimages();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue