WE USE PROPER ENGLISH HERE
This commit is contained in:
parent
fef9f1c09e
commit
0740dcb664
4 changed files with 6 additions and 6 deletions
|
@ -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 });
|
||||
|
|
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue