-
-
Notifications
You must be signed in to change notification settings - Fork 751
Refactor bot.py - Move codeblock detection logics. #1040
Copy link
Copy link
Closed
Labels
a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)Related to internal functionality and utilities (error_handler, logging, security, utils and core)l: 0 - beginnerp: 3 - lowLow PriorityLow Prioritys: WIPWork In ProgressWork In Progresst: featureNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)Related to internal functionality and utilities (error_handler, logging, security, utils and core)l: 0 - beginnerp: 3 - lowLow PriorityLow Prioritys: WIPWork In ProgressWork In Progresst: featureNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
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,!echoand!embed.