mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
Remove the rollDecorators command, implement roll command help library, god this was a pain to write
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* December 21, 2020
|
||||
*/
|
||||
import { log, LogTypes as LT } from '@Log4Deno';
|
||||
import { DiscordenoMessage, sendMessage } from '@discordeno';
|
||||
import { DiscordenoMessage, Interaction, sendMessage } from '@discordeno';
|
||||
|
||||
// ask(prompt) returns string
|
||||
// ask prompts the user at command line for message
|
||||
@@ -87,7 +87,7 @@ Available Commands:
|
||||
};
|
||||
|
||||
const genericLogger = (level: LT, message: string) => log(level, message);
|
||||
const messageEditError = (location: string, message: DiscordenoMessage | string, err: Error) =>
|
||||
const messageEditError = (location: string, message: DiscordenoMessage | Interaction | string, err: Error) =>
|
||||
genericLogger(LT.ERROR, `${location} | Failed to edit message: ${JSON.stringify(message)} | Error: ${err.name} - ${err.message}`);
|
||||
const messageSendError = (location: string, message: DiscordenoMessage | string, err: Error) =>
|
||||
genericLogger(LT.ERROR, `${location} | Failed to send message: ${JSON.stringify(message)} | Error: ${err.name} - ${err.message}`);
|
||||
|
||||
Reference in New Issue
Block a user