message.channel.guild > message.guild
This commit is contained in:
parent
9d0fd0ee01
commit
06c8aa1cc8
13 changed files with 34 additions and 34 deletions
|
@ -27,7 +27,7 @@ module.exports = class {
|
|||
.then(json => {
|
||||
const embed = new client.RichEmbed()
|
||||
.setTitle(`${json.data.name} (No. ${json.data.number})`)
|
||||
.setColour(client.functions.displayHexColour(message.channel.guild))
|
||||
.setColour(client.functions.displayHexColour(message.guild))
|
||||
.setURL('https://www.mezzacotta.net/garfield/?comic=' + json.data.number)
|
||||
.setImage(json.data.image.src);
|
||||
message.channel.send({ embed: embed });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue