[APC] Add a function to reduce repetition in the pingset red|orange|green
commands
#56
Labels
approved
I'll be implementing this soon
cog: apc
Relating to the AnotherPingCog cog
type: enhancement
New feature or request
Milestone
What cog is this feature request for?
AnotherPingCog
Describe the feature request in as much detail as possible
There is a lot of code repetition in
pingset red
,pingset orange
andpingset green
inanotherpingcog.py
. This could be cleaned up and made easier to maintain by adding a function which is called by all three.This is one of my Hacktoberfest issues, which anyone may take without needing to ask me directly, and if not done I will get around to doing them in the coming months.
The text was updated successfully, but these errors were encountered: