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

bot: Discord Users notifications #6

Open
3 of 8 tasks
rsodre opened this issue Apr 22, 2024 · 5 comments
Open
3 of 8 tasks

bot: Discord Users notifications #6

rsodre opened this issue Apr 22, 2024 · 5 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed ODHack

Comments

@rsodre
Copy link
Contributor

rsodre commented Apr 22, 2024

Depends on #2, #4, #5, #14

Tasks

  • Adapt the New Challenge and Challenge Accepted notifications (bot: Challenge Notifications #4)
    • Check if the Challenge duelist_a and duelist_b addresses are linked to a Discord User Id (app: Social Profile App #5)
    • Add a tag to each user to the notifications, when linked
  • Create new events for Player's Turn
    • Create a GraphQL event listener for the PlayerTurnEvent game event
    • Check if the Duelist address is linked to a Discord User Id (app: Social Profile App #5)
    • If it is, send a private message to the Discord user
    • The message content must have the same as the duel command (bot: Duel listing commands #2)

Notes

  • Please do not duplicate functionality!
  • When displaying a message with the same contents as other messages (Player's Turn and duel for example), extract the message-building part to a new function that can be called by both.
  • The PlayerTurnEvent event key is 0x19556e1418f1e7a7e6962eff75d1a46abd50bda431139f855ba85c9119754a4
@rsodre rsodre added good first issue Good for newcomers help wanted Extra attention is needed ODHack labels Apr 22, 2024
@gidson5
Copy link

gidson5 commented Apr 22, 2024

Hello @rsodre,can I be assigned this task?thanks.

1 similar comment
@gidson5
Copy link

gidson5 commented Apr 22, 2024

Hello @rsodre,can I be assigned this task?thanks.

@rsodre
Copy link
Contributor Author

rsodre commented Apr 22, 2024

we need to wait for the dependencies to be ready before assigning this (#2, #4, #5)

@rsodre rsodre mentioned this issue Apr 23, 2024
6 tasks
@stevencartavia
Copy link

Is this issue still unresolved?

@rsodre rsodre self-assigned this May 21, 2024
@rsodre
Copy link
Contributor Author

rsodre commented May 21, 2024

Is this issue still unresolved?

Yes, mostly. It only depends on another internal issue to enable the events in-game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed ODHack
Projects
None yet
Development

No branches or pull requests

3 participants