Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2021-01-10 13:15:08 +01:00
parent 81677ac6b4
commit 459585e280
1 changed files with 1 additions and 1 deletions

View File

@ -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();