Skip to content

Commit 1b6f6c2

Browse files
committed
Fix FIRE-D6F
1 parent 020778c commit 1b6f6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extensions/message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export class FireMessage extends Message {
197197
}
198198

199199
async getSystemContent() {
200-
const lang = this.guild.language ?? this.language;
200+
const lang = this.guild?.language ?? this.language;
201201
const user =
202202
this.member?.nickname ?? this.author?.globalName ?? this.author?.username;
203203
if (this.type == "GUILD_MEMBER_JOIN")

0 commit comments

Comments
 (0)