WE USE PROPER ENGLISH HERE

This commit is contained in:
Emily 2020-10-28 15:48:21 +11:00
parent fef9f1c09e
commit 0740dcb664
4 changed files with 6 additions and 6 deletions

View file

@ -39,7 +39,7 @@ module.exports = class {
const embed = new Embed()
.setTitle(colour)
.setColor(colour)
.setColour(colour)
.setImage(`https://fakeimg.pl/256x256/${colour.replace('#', '')}/?text=%20`);
message.channel.createMessage({ embed: embed });

View file

@ -28,7 +28,7 @@ module.exports = class {
.then(json => {
const embed = new Embed()
.setTitle(`${json.data.name} (No. ${json.data.number})`)
.setColor(client.functions.randomColour())
.setColour(client.functions.displayHexColour(message.channel.guild, client.user.id))
.setURL('https://www.mezzacotta.net/garfield/?comic=' + json.data.number)
.setImage(json.data.image.src);
message.channel.createMessage({ embed: embed });