mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 17:22:42 +02:00
Refactor play command
This commit is contained in:
parent
c058ec95fe
commit
7844e80991
8 changed files with 239 additions and 210 deletions
|
@ -5,7 +5,7 @@ export default (error?: string | Error): string => {
|
|||
if (typeof error === 'string') {
|
||||
str = `🚫 ${error}`;
|
||||
} else if (error instanceof Error) {
|
||||
str = `🚫 error: ${error.name}`;
|
||||
str = `🚫 ope: ${error.name}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue