Skip to content

Validate Channel Constants on Bot Startup #780

@sco1

Description

@sco1

Related to python-discord/sir-lancebot#335, the bot's channel constants can occasionally get out of sync, resulting in #deleted-channel references in some of the error responses.

In order to alert staff that this desync has occurred, a utility function should be added to the bot's startup routine that validates the channel constants & logs a warning if any of the channels do not exist so the constants file can be updated appropriately.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions