Fixed typos in the slash command register example (#6292)

## First "example usage" example
Added a period to the first console.log for consistency. Corrected typo in second console.log to read "Successfully".
This commit is contained in:
Pixxies Design LTD
2021-08-04 01:44:05 +02:00
committed by GitHub
parent 6b2098f7c7
commit 00d5ceebf7

View File

@@ -55,14 +55,14 @@ const rest = new REST({ version: '9' }).setToken('token');
(async () => {
try {
console.log('Started refreshing application (/) commands');
console.log('Started refreshing application (/) commands.');
await rest.put(
Routes.applicationGuildCommands(CLIENT_ID, GUILD_ID),
{ body: commands },
);
console.log('Sucessfully reloaded application (/) commands.');
console.log('Successfully reloaded application (/) commands.');
} catch (error) {
console.error(error);
}