Skip to content

Conversation

@Smieszkokoleszko
Copy link
Contributor

Title says everything.

New requirements:

  1. Channel for ranks messages
  2. Rank for users with permissions to create ranks

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.

Copy link
Member

@3Mydlo3 3Mydlo3 left a 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)
Copy link
Member

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).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@3Mydlo3 3Mydlo3 added the feature New feature or feature request label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants