Skip to content

Refactor bot.py - Move codeblock detection logics. #1040

@lemonsaurus

Description

@lemonsaurus

Right now, we're handling the codeblock detection stuff inside the BotCog cog. Why are we doing that? That sucks.

Remove all the codeblock parsing stuff from the BotCog cog, and make a new cog with a descriptive name (CodeBlockDetection?) where this logic can live. Inside the BotCog cog, we should only be doing the really simple and generic stuff, like !about, !echo and !embed.

Metadata

Metadata

Assignees

Labels

a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)l: 0 - beginnerp: 3 - lowLow Prioritys: WIPWork In Progresst: featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions