Hotfix
This commit is contained in:
parent
e7223cde08
commit
e259574bcc
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ export class LogsPlugin extends ZeppelinPlugin<ILogsPluginConfig> {
|
||||||
member = await this.getMember(user.id);
|
member = await this.getMember(user.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const memberConfig = this.getMatchingConfig({ member, userId: user.id });
|
const memberConfig = (member.guild && this.getMatchingConfig({ member, userId: user.id })) || ({} as any);
|
||||||
|
|
||||||
if (memberConfig.ping_user) {
|
if (memberConfig.ping_user) {
|
||||||
// Ping/mention the user
|
// Ping/mention the user
|
||||||
|
|
Loading…
Add table
Reference in a new issue