provide member object instead of ID

This commit is contained in:
Emily 2021-03-04 12:46:21 +11:00
parent bc8ce64caa
commit 744ec1951a
8 changed files with 14 additions and 14 deletions

View file

@ -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, client.user.id))
.setColour(client.functions.displayHexColour(message.channel.guild))
.setURL('https://www.mezzacotta.net/garfield/?comic=' + json.data.number)
.setImage(json.data.image.src);
message.channel.createMessage({ embed: embed });