We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec8cd1 commit 1af826eCopy full SHA for 1af826e
commands/handbook.js
@@ -59,7 +59,10 @@ module.exports = {
59
.setTitle(title)
60
.setURL(`${handbookURL}/${code}`)
61
.setColor(0x3a76f8)
62
- .setAuthor(`Course Info: ${code} (${UOC} UOC)`, "https://i.imgur.com/EE3Q40V.png")
+ .setAuthor({
63
+ name: `Course Info: ${code} (${UOC} UOC)`,
64
+ iconURL: "https://i.imgur.com/EE3Q40V.png",
65
+ })
66
.addFields(
67
{
68
name: "Overview",
@@ -106,7 +109,9 @@ module.exports = {
106
109
/* }, */
107
110
)
108
111
.setTimestamp()
- .setFooter("Data fetched from Circles' Api");
112
+ .setFooter({
113
+ text: "Data fetched from Circles' Api",
114
+ });
115
await interaction.reply({ embeds: [courseInfo] });
116
}
117
},
0 commit comments