Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Refactor rules-message and purge-reaction fetching #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Refactor rules-message and purge-reaction fetching #1

wants to merge 2 commits into from

Conversation

open-sourceress
Copy link

The IDs are now an array of [channel_id, message_id], both ints, and are fetched once on startup. The channel ID is also an int for consistency. Requiring explicit channel IDs allows t!purge to be run from any channel, not just the one the purge reactions message was sent, and also allows properly fetching the rule reminder message.

The IDs are now an array of [channel_id, message_id], both ints, and are fetched once on startup.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant