Skip to content

Defcon have wrong text in #mod-log when you disable it. #539

@eivl

Description

@eivl

When you disable defcon the text message in #mod-log is DEFCON enabled it should say DEFCON disabled

It works like this in the #defcon channel.

Current message in #mod-log
defcon-disabled

but a few months ago you can see this behaviour.
Message from 08.08.2019 in #mod-log
defcon-working

code from defcon.py

        elif change.lower() == "disabled":
            icon = Icons.defcon_disabled
            color = Colours.soft_red
            status_msg = "DEFCON enabled"

Someone looking into this might want to focus on the last line of this snippet.

Metadata

Metadata

Assignees

Labels

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