-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Emote Boards: Starboard Re-implementation, Minor Fixes #850
Conversation
Black linting failed: Please run |
Static type linting failed: Please see CI error output for details and fix the PRs typing |
Black linting failed: Please run |
Static type linting failed: Please see CI error output for details and fix the PRs typing |
Static type linting failed: Please see CI error output for details and fix the PRs typing |
isort linting failed: Please run |
Black linting failed: Please run |
I was too lazy to try and summarize the feature in 1 sentence.
@Jay-Madden bug has been fixed and is now ready for review 👍🏻 |
Static type linting failed: Please see CI error output for details and fix the PRs typing |
Static type linting failed: Please see CI error output for details and fix the PRs typing |
Hmm, this doesnt appear to handle super reactions. how do we want to deal with that? |
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.
Fantastic excellent PR overall, some general comments and nitpicks.
i dont think we need to channel add
subcommand? or the board name? not fully following the use for that
Closed and reopened to trigger docs preview build |
Also, we should add this functionality to the readme |
❌ Deploy Preview for clembotdocs failed.
|
Static type linting failed: Please see CI error output for details and fix the PRs typing |
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.
yolo
🪧 Emote Boards
This PR adds a new feature in replacement of starboard. Emote boards are the generic version of starboard:
In addition to features present in starboard, emote boards also support:
Resolves #821.
Resolves #782.
Resolves #645.
Resolves #635.
Resolves #331.
Resolves #234.
⚙️ Commands
NOTE: When a
emoteboard
parameter is present, this refers to either the board's name or the board's emote.emoteboard [emoteboard]
board
,boards
,eb
,emojiboard
boards
,board :star:
,board starboard
Add
emoteboard add <emote> <name> <channel>
manage_emote_boards
create
emoteboard add :star: starboard #starboard
,emoteboard add :a_custom_emote: myboard #my-board
Remove
emoteboard remove <emoteboard>
manage_emote_boards
delete
emoteboard remove :star:
,emoteboard remove starboard
Leaderboard
emoteboard leaderboard [emoteboard]
top
emoteboard leaderboard :star:
,emoteboard leaderboard
,emoteboard leaderboard starboard
Here are the current leaderboard categories that are implemented:
Set Threshold
emoteboard set threshold <emoteboard> <threshold>
manage_emote_boards
limit
,reactions
,emotes
emoteboard set threshold :star: 4
,emoteboard edit threshold starboard 4
Set Bots
emoteboard set bots <emoteboard> <allow bot posts>
manage_emote_boards
bot
,allow_bots
,bot_posts
emoteboard set bots :star: true
,emoteboard set allow_bots starboard false
Set Emote
emoteboard set emote <board name> <emote>
manage_emote_boards
emoji
emoteboard set emote starboard :star:
,emoteboard set emoji starboard :a_custom_emote:
Channel Add
emoteboard channel add <emoteboard> <channel>
manage_emote_boards
emoteboard channel add :star: #my-channel
,emoteboard channel add starboard #starboard
Channel Remove
emoteboard channel remove <emoteboard> <channel>
manage_emote_boards
delete
emoteboard channel remove :star: #my-channel
,emoteboard channel delete starboard #starboard
ℹ️ Other
gifMe
token from BotSecrets.on_raw_reaction_add
has been implemented inclem_bot.py
emoji
was added to support unicode-based emojis (and for verification that we're given an actual emoji).✅ To-Do
Beg J and Milo to review the PR