Document more of Red's events #5417

Manually merged
benno1237 merged 0 commits from benno1237/red_event_reference into V3/develop 2026-11-21 15:29:23 +01:00
benno1237 commented 2021-10-20 21:08:47 +02:00 (Migrated from github.com)

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

### 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
Jackenmen (Migrated from github.com) requested changes 2021-12-25 22:40:35 +01:00
Jackenmen (Migrated from github.com) left a comment

All of the method and parameters descriptions should have a full stop (.) at the end.

All of the method and parameters descriptions should have a full stop (`.`) at the end.
@ -4,6 +4,95 @@
Custom Events
Jackenmen (Migrated from github.com) commented 2021-12-25 22:34:45 +01:00
.. py:method:: Red.on_filter_message_delete(message, hits)
```suggestion .. py:method:: Red.on_filter_message_delete(message, hits) ```
Jackenmen (Migrated from github.com) commented 2021-12-25 22:34:57 +01:00
    :param cog: Audio cog instance: similar to :py:func:`redbot.core.bot.Red.get_cog()`
```suggestion :param cog: Audio cog instance: similar to :py:func:`redbot.core.bot.Red.get_cog()` ```
Jackenmen (Migrated from github.com) commented 2021-12-25 22:37:10 +01:00
    :param redbot.core.modlog.Case case: The modlog case associated with this event.
```suggestion :param redbot.core.modlog.Case case: The modlog case associated with this event. ```
Jackenmen (Migrated from github.com) commented 2021-12-25 22:37:23 +01:00
    :param redbot.core.modlog.Case case: The modlog case associated with this event.
```suggestion :param redbot.core.modlog.Case case: The modlog case associated with this event. ```
Jackenmen (Migrated from github.com) commented 2021-12-25 22:38:25 +01:00

@aikaterna do we actually support these?

@aikaterna do we actually support these?
benno1237 (Migrated from github.com) reviewed 2022-01-09 21:07:20 +01:00
@ -4,6 +4,95 @@
Custom Events
benno1237 (Migrated from github.com) commented 2022-01-09 21:07:20 +01:00

Thanks 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.

Thanks 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.
aikaterna (Migrated from github.com) reviewed 2022-01-10 18:49:48 +01:00
@ -4,6 +4,95 @@
Custom Events
aikaterna (Migrated from github.com) commented 2022-01-10 18:49:48 +01:00

They 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

They 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
Jackenmen (Migrated from github.com) requested changes 2022-01-10 19:10:28 +01:00
Jackenmen (Migrated from github.com) left a comment

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.

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()`
Jackenmen (Migrated from github.com) commented 2022-01-10 19:09:13 +01:00

I suggest removing this as the Audio class is not a public API.

I suggest removing this as the Audio class is not a public API. ```suggestion ```
Mrcoolgamer11 manually merged commit 0426c76cf0 into V3/develop 2026-11-21 15:29:23 +01:00
Sign in to join this conversation.
No reviewers
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 milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!5417
No description provided.