Document more of Red's events #5417
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!5417
Loading…
Reference in a new issue
No description provided.
Delete branch "benno1237/red_event_reference"
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?
Description of the changes
Documenting the custom events which I thought are worth being documented
The change in docs/conf.py is needed to allow proper documentation of the audio events
Potentially closes #3787
All of the method and parameters descriptions should have a full stop (
.) at the end.@ -4,6 +4,95 @@Custom Events@aikaterna do we actually support these?
@ -4,6 +4,95 @@Custom EventsThanks for having a look Jack. Sorry for not answering for such a long time. Christmas holidays.
Regarding your question for aika: I cannot really tell you whether the audio events are supported or not, they seem to work just fine tho. I did some basic testing with all of them and they seem to be dispatched reliably.
@ -4,6 +4,95 @@Custom EventsThey have been in audio since 2019* or so I believe but they were never documented (obviously). They have been there for people to make use of and I don't know of any issues anyone has ever had with them. I would say they are supported imo.
edit: 2018 -> 2019
In addition to the review comment I posted, you still need to do one change from the previous review - there are still no full stops (
.) at the end of all the method and parameter descriptions.@ -7,0 +66,4 @@Dispatched when the audio cog starts it's unloading task:param cog: Audio cog instance: similar to :py:func:`redbot.core.bot.Red.get_cog()`I suggest removing this as the Audio class is not a public API.