Add "Where to go from here?" to cog creation guide #6134

Closed
opened 2023-05-07 10:07:30 +02:00 by Jackenmen · 3 comments
Jackenmen commented 2023-05-07 10:07:30 +02:00 (Migrated from github.com)

What component of Red (cog, command, API) would you like to see improvements on?

"Creating cogs for Red V3" document

Describe the enhancement you're suggesting.

The current document doesn't really go beyond creating a simple "hello world" cog. We mention the Red V2 migration guide in the "Additional resources" section but that probably isn't useful to the vast majority of people reading this document these days.

I think we should replace that with a "Where to go from here?" section (could also just keep the more boring "Additional resources" name :P) describing how you can take the next step by mentioning discord.py documentation, a few core APIs (especially the documents about Config, Data Manager, Utility Functions, commands package, and the bot class), and mentioning that more documentation can be found in the sidebar. Maybe some general pointers on how to navigate d.py's and Red's documentation could be helpful as well, unsure.
This section should probably go above the "Publish your cog" and "Becoming an Approved Cog Creator" sections.

Anything else?

No response

### What component of Red (cog, command, API) would you like to see improvements on? "Creating cogs for Red V3" document ### Describe the enhancement you're suggesting. The current document doesn't really go beyond creating a simple "hello world" cog. We mention the Red V2 migration guide in the "Additional resources" section but that probably isn't useful to the vast majority of people reading this document these days. I think we should replace that with a "Where to go from here?" section (could also just keep the more boring "Additional resources" name :P) describing how you can take the next step by mentioning discord.py documentation, a few core APIs (especially the documents about Config, Data Manager, Utility Functions, commands package, and the bot class), and mentioning that more documentation can be found in the sidebar. Maybe some general pointers on how to navigate d.py's and Red's documentation could be helpful as well, unsure. This section should probably go *above* the "Publish your cog" and "Becoming an Approved Cog Creator" sections. ### Anything else? _No response_
Frost-4X commented 2023-05-07 10:14:11 +02:00 (Migrated from github.com)

Perhaps an advanced walkthrough of creating a complex cog, I've found that learning by doing is the best for a lot of people, myself included. It would only need to cover core concepts.

Perhaps an advanced walkthrough of creating a complex cog, I've found that learning by doing is the best for a lot of people, myself included. It would only need to cover core concepts.
Jackenmen commented 2023-05-07 10:20:50 +02:00 (Migrated from github.com)

Perhaps an advanced walkthrough of creating a complex cog

Yeah, this could be worth doing though it might also be worth having a bit more detailed tutorials like the one we have in Config's documentation for other bot components. This also makes me think that a lot of people learn by example and so we should consider mentioning that you could learn by looking at the source code of other people's approved cogs. This does come with a caveat that not all such cogs have the best code quality but approved cogs do have to follow common cog practices so that's good.

> Perhaps an advanced walkthrough of creating a complex cog Yeah, this *could* be worth doing though it might also be worth having a bit more detailed tutorials like the one we have in Config's documentation for other bot components. This also makes me think that a lot of people learn by example and so we should consider mentioning that you could learn by looking at the source code of other people's approved cogs. This does come with a caveat that not all such cogs have the best code quality *but* approved cogs do have to follow common cog practices so that's good.
Owner

Erledigt in 677137acb. Erledigt: Der Abschnitt „Additional resources“ im Leitfaden zur Cog-Erstellung ist durch „Where to go from here?“ ersetzt, mit Verweisen auf die discord.py-Doku, Config, Slash-Befehle, Utils, das Veröffentlichen von Cogs und wo man Hilfe bekommt. Der V2-Migrationsleitfaden bleibt unter „Incompatible changes“ erreichbar.


Generated by Claude Code

Erledigt in 677137acb. Erledigt: Der Abschnitt „Additional resources“ im Leitfaden zur Cog-Erstellung ist durch „Where to go from here?“ ersetzt, mit Verweisen auf die discord.py-Doku, Config, Slash-Befehle, Utils, das Veröffentlichen von Cogs und wo man Hilfe bekommt. Der V2-Migrationsleitfaden bleibt unter „Incompatible changes“ erreichbar. --- _Generated by [Claude Code](https://claude.ai/code)_
Sign in to join this conversation.
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
2 participants
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#6134
No description provided.