Update dependencies and fix a reminder bug #102
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ export const sendReminder = (client: Client, info: infoReminder, option: OptionR
|
|||
// Send the message in the appropriate channel
|
||||
// TODO: Embed
|
||||
let message: string;
|
||||
if (info.message === null) {
|
||||
if (info.message === null || info.message.length === 0) {
|
||||
message = loc.get("c_reminder7");
|
||||
} else {
|
||||
message = cleanCodeBlock(info.message);
|
||||
|
|
Loading…
Reference in a new issue