Minor message improvements (#865)

This commit is contained in:
Jefferey Neuffer 2023-01-25 13:13:32 +10:00 committed by GitHub
parent abdae1a644
commit eac9ec48b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -28,6 +28,6 @@ export default class implements Command {
player.disconnect();
await interaction.reply('u betcha');
await interaction.reply('u betcha, disconnected');
}
}

View file

@ -32,6 +32,6 @@ export default class implements Command {
}
player.stop();
await interaction.reply('u betcha');
await interaction.reply('u betcha, stopped');
}
}

View file

@ -3,9 +3,9 @@ export default (error?: string | Error): string => {
if (error) {
if (typeof error === 'string') {
str = `🚫ope: ${error}`;
str = `🚫 ope: ${error}`;
} else if (error instanceof Error) {
str = `🚫ope: ${error.message}`;
str = `🚫 ope: ${error.message}`;
}
}