Skip to content

Commit

Permalink
update deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
saiteja-madha committed Feb 12, 2022
1 parent 52ed537 commit 0b4a717
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/giveaways/giveaway.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ async function runInteractiveSetup(message) {

const filter = (m) => m.author.id === member.id;
const embed = new MessageEmbed()
.setAuthor("Giveaway Setup")
.setAuthor({ name: "Giveaway Setup" })
.setColor(EMBED_COLORS.BOT_EMBED)
.setFooter("Type cancel to cancel setup");
.setFooter({ text: "Type cancel to cancel setup" });

let targetChannel;
let duration;
Expand Down Expand Up @@ -402,9 +402,9 @@ async function runInteractiveEdit(message) {

const filter = (m) => m.author.id === member.id;
const embed = new MessageEmbed()
.setAuthor("Giveaway Update")
.setAuthor({ name: "Giveaway Update" })
.setColor(EMBED_COLORS.BOT_EMBED)
.setFooter("Type `cancel` to cancel update!\nType `skip` to skip this step");
.setFooter({ text: "Type `cancel` to cancel update!\nType `skip` to skip this step" });

let messageId;
let addDuration;
Expand Down

0 comments on commit 0b4a717

Please sign in to comment.