Hotfix 12
This commit is contained in:
parent
9713e2c99b
commit
b06e51f25c
1 changed files with 5 additions and 0 deletions
|
@ -225,6 +225,11 @@ export class GuildSavedMessages extends BaseGuildRepository {
|
|||
const existingSavedMsg = await this.find(msg.id);
|
||||
if (existingSavedMsg) return;
|
||||
|
||||
// FIXME: Hotfix
|
||||
if (!msg.channel) {
|
||||
return;
|
||||
}
|
||||
|
||||
const savedMessageData = this.msgToSavedMessageData(msg);
|
||||
const postedAt = moment.utc(msg.createdTimestamp, "x").format("YYYY-MM-DD HH:mm:ss");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue