Skip to content

Commit

Permalink
Made it work for discord.js 14
Browse files Browse the repository at this point in the history
  • Loading branch information
hotsu0p committed Feb 8, 2024
1 parent b2fff23 commit 19f6ca8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,18 +227,19 @@ client.setMaxListeners(20);
This is where you should add all button handler stuff
this is the first one i have added
*/
const moreinfo = new MessageEmbed()
.setColor(color.blue)
const moreInfoEmbed = new MessageEmbed()
.setColor('#0099ff') // Set color to blue
.setTitle("More Info")
.setURL("https://pogy.xyz/invite")
.setDescription(
"Chaoticis a discord bot with a lot of features. You can invite Pogy to your server by clicking the button below",
"Chaotic is a discord bot with a lot of features. You can invite Pogy to your server by clicking the button below"
)
.setFooter("Pogy", "https://pogy.xyz/assets/images/pogy.png")
.addField("Invite Pogy", "https://pogy.xyz/invite")
.addField("Support Server", "https://discord.gg/pogy")
.addField("Vote Pogy", "https://top.gg/bot/880243836830652958/vote");

.setFooter('Pogy', 'https://pogy.xyz/assets/images/pogy.png') // Set footer with text and icon
.addFields(
{ name: "Invite Pogy", value: "https://pogy.xyz/invite", inline: false },
{ name: "Support Server", value: "https://discord.gg/pogy", inline: false },
{ name: "Vote Pogy", value: "https://top.gg/bot/880243836830652958/vote", inline: false }
);
const levelupbutton = new MessageEmbed()
.setColor(color.blue)
.setTitle("Level Up")
Expand Down

0 comments on commit 19f6ca8

Please sign in to comment.