Skip to content

Commit

Permalink
docs: fix bad indentation (#6316)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaporoxx authored Aug 6, 2021
1 parent 3bff08a commit cd1aefb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ const commands = [{
const rest = new REST({ version: '9' }).setToken('token');

(async () => {
try {
console.log('Started refreshing application (/) commands.');
await rest.put(
Routes.applicationGuildCommands(CLIENT_ID, GUILD_ID),
{ body: commands },
);
console.log('Successfully reloaded application (/) commands.');
} catch (error) {
console.error(error);
}
try {
console.log('Started refreshing application (/) commands.');

await rest.put(
Routes.applicationGuildCommands(CLIENT_ID, GUILD_ID),
{ body: commands },
);

console.log('Successfully reloaded application (/) commands.');
} catch (error) {
console.error(error);
}
})();
```

Expand Down

0 comments on commit cd1aefb

Please sign in to comment.