Skip to content
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

[Mimic] Leaderboard for mimic results #206

Open
xiprox opened this issue Sep 10, 2021 · 2 comments
Open

[Mimic] Leaderboard for mimic results #206

xiprox opened this issue Sep 10, 2021 · 2 comments

Comments

@xiprox
Copy link
Member

xiprox commented Sep 10, 2021

It could be nice if we had a command to list the most popular mimic results (ebot's best work).

To do this, we could assign a certain amount of "points" to common emoji people react to messages with, such as lul, omegalul, kekw, ok_hand, 100, trophy, etc. Reactions to a mimic response would be stored in the db and later retrieved to rank and display with a command.

Considerations:

  • Can ebot recognize/use custom emoji?
  • How do we tell which ebot message is a mimic?
@YoannMa
Copy link
Contributor

YoannMa commented Sep 10, 2021

How do we tell which ebot message is a mimic?

That can be check in the mimic database as ebot save all his mimic reply with the message ID

Can ebot recognize/use custom emoji?

It is possible, but it would require hardcoding the emoji ID or name in the code or have a setup system per Guild

IMO, I'm fine with having the name (or a regex on the name) hardcoded, we could go like with a regex :

  • any reaction with lul gives X points
  • any reaction with kek gives Y points
  • etc

It allows other people to use their own emoji in our server as well

@xiprox
Copy link
Member Author

xiprox commented Sep 10, 2021

Yep. That sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants