forked from Supositware/Haha-Yes
Fixed starboard
This commit is contained in:
parent
963981401d
commit
973474f9c9
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ class MessageReactionAddListener extends Listener {
|
||||||
let message = await channel.messages.get(boardID);
|
let message = await channel.messages.get(boardID);
|
||||||
// If the original embed description is empty make this embed empty ( and not undefined )
|
// If the original embed description is empty make this embed empty ( and not undefined )
|
||||||
let description;
|
let description;
|
||||||
if (message.embeds[0].description == undefined)
|
if (message.embeds[0].description == '')
|
||||||
description = '';
|
description = '';
|
||||||
|
|
||||||
let Embed = client.util.embed()
|
let Embed = client.util.embed()
|
||||||
|
|
|
@ -79,7 +79,7 @@ class messageReactionRemoveListener extends Listener {
|
||||||
let message = await channel.messages.get(boardID);
|
let message = await channel.messages.get(boardID);
|
||||||
// If the original embed description is empty make this embed empty ( and not undefined )
|
// If the original embed description is empty make this embed empty ( and not undefined )
|
||||||
let description;
|
let description;
|
||||||
if (message.embeds[0].description == undefined)
|
if (message.embeds[0].description == '')
|
||||||
description = '';
|
description = '';
|
||||||
|
|
||||||
let Embed = client.util.embed()
|
let Embed = client.util.embed()
|
||||||
|
|
Loading…
Reference in a new issue