mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-22 16:55:30 +01:00
Minor message improvements (#865)
This commit is contained in:
parent
abdae1a644
commit
eac9ec48b1
|
@ -28,6 +28,6 @@ export default class implements Command {
|
|||
|
||||
player.disconnect();
|
||||
|
||||
await interaction.reply('u betcha');
|
||||
await interaction.reply('u betcha, disconnected');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,6 @@ export default class implements Command {
|
|||
}
|
||||
|
||||
player.stop();
|
||||
await interaction.reply('u betcha');
|
||||
await interaction.reply('u betcha, stopped');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue