aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJefferey Neuffer <[email protected]>2023-01-25 13:13:32 +1000
committerGitHub <[email protected]>2023-01-24 21:13:32 -0600
commiteac9ec48b12bacdb6a69415f6cd75455ea49b873 (patch)
treeb3647970fb425ea3579b69d93e8bad5b9a431ada
parentabdae1a6449d0e3911b45c0dfde3f4b184c17ae0 (diff)
downloadmuse-eac9ec48b12bacdb6a69415f6cd75455ea49b873.tar.xz
muse-eac9ec48b12bacdb6a69415f6cd75455ea49b873.zip
Minor message improvements (#865)
-rw-r--r--src/commands/disconnect.ts2
-rw-r--r--src/commands/stop.ts2
-rw-r--r--src/utils/error-msg.ts4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/disconnect.ts b/src/commands/disconnect.ts
index d9f025a..0081cc1 100644
--- a/src/commands/disconnect.ts
+++ b/src/commands/disconnect.ts
@@ -28,6 +28,6 @@ export default class implements Command {
player.disconnect();
- await interaction.reply('u betcha');
+ await interaction.reply('u betcha, disconnected');
}
}
diff --git a/src/commands/stop.ts b/src/commands/stop.ts
index 71b33db..818fda6 100644
--- a/src/commands/stop.ts
+++ b/src/commands/stop.ts
@@ -32,6 +32,6 @@ export default class implements Command {
}
player.stop();
- await interaction.reply('u betcha');
+ await interaction.reply('u betcha, stopped');
}
}
diff --git a/src/utils/error-msg.ts b/src/utils/error-msg.ts
index ef03e76..1417a7e 100644
--- a/src/utils/error-msg.ts
+++ b/src/utils/error-msg.ts
@@ -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}`;
}
}