Update EditUsers.plugin.js
This commit is contained in:
parent
81677ac6b4
commit
459585e280
|
@ -672,7 +672,7 @@ module.exports = (_ => {
|
|||
}
|
||||
|
||||
processReaction (e) {
|
||||
if (!settings.changeInReactions) return;
|
||||
if (!settings.changeInReactions || !e.returnvalue) return;
|
||||
if (e.instance.props.reactions && e.instance.props.reactions.length) {
|
||||
let channel = BDFDB.LibraryModules.ChannelStore.getChannel(e.instance.props.message.channel_id);
|
||||
let guildId = null == channel || channel.isPrivate() ? null : channel.getGuildId();
|
||||
|
|
Loading…
Reference in New Issue