Skip to content

Commit

Permalink
added weblink
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-NCSU committed Aug 23, 2021
1 parent 0a10b40 commit 66e333e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = {
for (let i = 0; i < data.length; i++) {
answer[i] = [];
answer[i][0] = data[i].names.international;
answer[i][1] = data[i].abbreviation;
answer[i][1] = data[i].abbreviation + '\n' + data[i].weblink;
}
const embed = new MessageEmbed()
.setColor('118855')
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const rest = new REST({ version: '9' }).setToken(token);
console.log('Started refreshing application (/) commands.');
await rest.put(
Routes.applicationGuildCommands("728401850033897574", "430074563703996417"),
{ body: [] },
Routes.applicationCommands('728401850033897574'),
{ body: commands },
);
console.log('Successfully reloaded application (/) commands.');
Expand Down

0 comments on commit 66e333e

Please sign in to comment.