More hotfixing
This commit is contained in:
parent
5a60e4be70
commit
e0e0c9c7d4
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class HelpCommand extends Command {
|
|||
"color": 16711680,
|
||||
"fields": [{
|
||||
"name": "Aliases",
|
||||
"value": info.aliases ? info.aliases.join(", ") : "None"
|
||||
"value": info.aliases.length !== 0 ? info.aliases.join(", ") : "None"
|
||||
}, {
|
||||
"name": "Times Used",
|
||||
"value": counts[command],
|
||||
|
|
|
@ -123,7 +123,7 @@ module.exports = async (client, cluster, ipc, message) => {
|
|||
logger.error(error.toString());
|
||||
try {
|
||||
await client.createMessage(message.channel.id, "Uh oh! I ran into an error while running this command. Please report the content of the attached file here or on the esmBot Support server: <https://github.com/esmBot/esmBot/issues>", [{
|
||||
file: Buffer.from(`Message: ${error}\n\nStack Trace: ${error.stack}`),
|
||||
file: `Message: ${error}\n\nStack Trace: ${error.stack}`,
|
||||
name: "error.txt"
|
||||
}]);
|
||||
} catch { /* silently ignore */ }
|
||||
|
|
Loading…
Reference in a new issue