-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New feature for auto assign ranks by the users themselves #68
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some cleanup would be useful as the code is very chaotic.
return; | ||
} | ||
|
||
private async Task RemovedReactionToSignUpsChannel(Cacheable<IUserMessage, ulong> message, ISocketMessageChannel channel, SocketReaction reaction, SignupsData signups) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think RemovedReactionToSignUpsChannel
is a bad name pattern. Reactions are added to messages in channels, not to channels. I'd suggest renaming such methods to RemovedReactionInSignupsChannel
(notice Signups
vs SignUps
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Title says everything.
New requirements:
When added adding new rank message is similar to creating missions. Example command with multiple ranks in one message below:
AF!ranga Title of message ; Description of message; @rank1 @rank2 ; 😘🤓
Bot will create message in pointed channel. When reaction clicked by user rank is added. When clicked again it is removed.