[Help] Continuing work and bug-fixes #2676
No reviewers
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!2676
Loading…
Reference in a new issue
No description provided.
Delete branch "continuing-help"
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?
Type
Description of the changes
Includes some of the improvements related to #2667
Can there be a setting that will mimic what this v2 cog did?: https://cogs.red/cogs/ZeLarpMaster/ZeCogs/help_autodelete/
It let you set a time in seconds after which the help messages, along with the help command message that triggered the help response itself, would be deleted. This really helps to keep the chat clear of any unnecessary messages.
Not in this particular PR, but I'll add it to the checklist issue.
Thought I’d leave a comment about this here: So earlier, I was using help on my bot and it for some reason was returning the disabled message when I was using it. However, it worked fine for calling help on the ping command. Also, I was getting help on a category, not a command, so I knew that the command I was calling wasn’t disabled. I was able to solve this by disabling then re-enabling help, but thought it was pretty weird. I thought it was my editing red, until later when I was helping someone in the support channel. They also had been receiving this, but with every command. Help wasn’t disabled; they tried restarting the bot and doing what worked for me earlier; nothing. They also told us that it was only in one guild it was doing that, the others were fine. They said they had not edited red at all. I’m not sure what could be causing this, so I’m dropping it here for you to know.
What @NeuroAssassin described here is what happens
if your server has disabled DM.Interesting enough this happens only for me as the bot owner because I receive every possible help and according to this line it the tries to send DM once the output is too big.Enabling DMs server wide works, but we don't want that here.If this fails, bot sends the error DM message set in #2681 but it should also offer the possibility to just drop the message in the current channel.Btw
if at least one server with you and the bot has DMs enabledIf you have DMs enabled on at least one server you share with the bot this won't happen.EDIT: words
EDIT2: After some digging. Disabling DMs from a server (Right click on server, Privacy settings) is user specific. Basically there is some smelly logic from discord that you can't "favorite" or "friend" bots so they could send you DMs without actually sharing any open DM server. Also If I had a lot of cogs with lot of public commands every user calling [p]help with DMs disabled everywhere will experience this issue.