We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020778c commit 1b6f6c2Copy full SHA for 1b6f6c2
lib/extensions/message.ts
@@ -197,7 +197,7 @@ export class FireMessage extends Message {
197
}
198
199
async getSystemContent() {
200
- const lang = this.guild.language ?? this.language;
+ const lang = this.guild?.language ?? this.language;
201
const user =
202
this.member?.nickname ?? this.author?.globalName ?? this.author?.username;
203
if (this.type == "GUILD_MEMBER_JOIN")
0 commit comments