Remove .setAuthor as my usage of it is deprecated

This commit is contained in:
Skylar Grant 2022-06-10 22:49:11 -04:00
parent e60479c85a
commit 41be4672fa

View File

@ -296,7 +296,6 @@ const functions = {
}, },
strain(commandData, message) { strain(commandData, message) {
const strainEmbed = new Discord.MessageEmbed() const strainEmbed = new Discord.MessageEmbed()
.setAuthor(`${commandData.command} #${commandData.strainInfo.id}`)
.setTimestamp() .setTimestamp()
.setFooter(commandData.author); .setFooter(commandData.author);
const { strainInfo } = commandData; const { strainInfo } = commandData;