[V3] Warnings cog issue #2106
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#2106
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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}
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:
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:
SauriBotandOwner'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 thanOwner's Baby Bots, even tho it's belowSauriBot, 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.