Red-discordbot: [V3] Warnings cog issue

Created on 7 Sep 2018  Â·  9Comments  Â·  Source: Cog-Creators/Red-DiscordBot

Command bugs

Command name

.warn

What cog is this command from?

Warnings

What were you expecting to happen?

When a user goes above the points threshold, the assigned action should occur.

What actually happened?

User gets warned and points get added however no action is issued.

How can we reproduce this issue?

Create a warnreason, assign it a point value and set that point value to ban a user.
Then warn the user.

Here's an example of what I have setup and the bot has done nothing to the user

http://evac.gg/i/pthl6.png

When setting up the action, i used:

ban {user}

Bug

Most helpful comment

Seems to be an issue with the mod cog not the warning cog. Entering the command myself +ban someusername gives a hierarchy error even if i turn off that check with modset heiarchy

All 9 comments

Seems to be an issue with the mod cog not the warning cog. Entering the command myself +ban someusername gives a hierarchy error even if i turn off that check with modset heiarchy

@useruser3 Not related to the mod cog. I cannot reproduce the behavior you are describing.

I also cannot reproduce a lack of warning actions actually being triggered.

@evacfk try restarting your bot. Resolved it for me

Did not resolve for me.
On Sep 8, 2018, 3:51 AM -0700, useruser3 notifications@github.com, wrote:

@evacfk try restarting your bot. Resolved it for me
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm able to reproduce this.

Updated to B21 and same issue exists. I've tried restarting bot, reloading warnings.

I don't see any errors, on bot startup I get

"Unknown event GUILD_INTEGRATIONS_UPDATE."

But that's it.

That message is a discord.py issue (see Rapptz/discord.py/issues/1083)

I also have the problem with the warning and also with the hierarchy

Some more info to the problem:
I have two roles for my V3: SauriBot and Owner's Baby Bots, where the second one is there purely just so the bot appears below Verified members while the first role is all the way above everyone (and is the one with all permissions). I also have set that after 3 warnings (= 3 points), the user shall be kicked out and if rejoined, after another one (4 points in total), the user shall be banned from the server. This, however, does not happen, as seen here. Also, the manual kick and ban with [p]kick <user> and [p]ban <user> give me an error whenever the user has higher role than Owner's Baby Bots, even tho it's below SauriBot, as seen here.

Those two basically go hand in hand together as the bot cannot kick the person, as seen here (tried it right now with my second account).

Resolved by #2218.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TrustyJAID picture TrustyJAID  Â·  3Comments

P4rtyguy picture P4rtyguy  Â·  4Comments

xnaas picture xnaas  Â·  3Comments

IdkGoodName picture IdkGoodName  Â·  3Comments

Sandvich picture Sandvich  Â·  4Comments