emoji moved to config

This commit is contained in:
Emily 2021-07-15 12:26:42 +10:00
parent c0c1945b2c
commit da570fc40b
19 changed files with 55 additions and 55 deletions

View file

@ -68,7 +68,7 @@ module.exports = class {
});
})
.catch(err => {
message.channel.createMessage(`${client.emojis.botError} An error has occurred: ${err}`);
message.channel.createMessage(`${client.config.emojis.botError} An error has occurred: ${err}`);
});
}
};

View file

@ -44,7 +44,7 @@ module.exports = class {
createPaginationEmbed(message, embeds);
})
.catch(err => {
message.channel.createMessage(`${client.emojis.botError} An error has occurred: ${err}`);
message.channel.createMessage(`${client.config.emojis.botError} An error has occurred: ${err}`);
});
}
};

View file

@ -50,7 +50,7 @@ module.exports = class {
createPaginationEmbed(message, embeds);
})
.catch(err => {
message.channel.createMessage(`${client.emojis.botError} An error has occurred: ${err}`);
message.channel.createMessage(`${client.config.emojis.botError} An error has occurred: ${err}`);
});
}
};