-
Notifications
You must be signed in to change notification settings - Fork 34
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
Disable Idle Buttons #354
Comments
Also by ephemeral mesages i meant that when u or anyother peron clicks a button, it sends the appropriate reply in an ephemeral message |
Hello, I did not actually think about this scenario... I'll work on it! Thanks for the feedback 👍 |
Thank you! |
Btw can u make it available for v13 too? |
Nvm it is v13 |
Btw @utarwyn how do i enable ephemeral replies? |
Yes both versions v13 and v14 of discord.js are supported for now! What do you mean by ephemeral replies? |
The hidden messages only you can see |
Yes but to do what? Playing a private game? |
No lemme show |
Oh I see, you want to have an option to send all statuses inside ephemeral messages? |
yes |
@utarwyn can u pls inform me when it is done and which version it is? |
Buttons will be disabled when a game is over, from v3.2.0 (also v4.1.0) |
Tysm! |
Btw i also forgot to add that when the game ends because of someone going idle the buttons will still be there but disabled when the withdisabled option is set to true also the same thing for the askmessage |
Yes I have to handle all use cases to disable buttons when not needed anymore 👍 |
tyty |
are u done yet?(im just asking to see if ur still alive) |
@Sophan-Developer i agree on the embed thing but making it an option will be better since many dont want it |
Also did u do withButtonsDisabled: true in the config? |
@utarwyn are you done yet? |
Sorry if im being a bit impatient |
Sorry for being inactive on that issue since a long time. I have worked recently on the module to add a level of difficulty of the AI. Disabled buttons will be available in the same version, it's the next thing I have to work onto 😉 |
Ok tysm |
Btw dont forget to send statuses in ephemeral replies |
If by any chance you forgot, read the previous messages |
@utarwyn i forgot to tell u to add an option for custom idle button emojis |
Idle button emoji? |
Yes like the dashemoji |
➖ |
@utarwyn (sorry for ping) |
that isn't to hard, is it? |
Ugh yes it's not hard I think |
These features are now available in both versions 3.2.0 (discord.js v13) and 4.1.0 (discord.js v14).
npm project page: https://www.npmjs.com/package/discord-tictactoe |
tysmmmmmmmmmm |
When a game ends with the buttons disabled option set to true, the idle/secondary buttons which havent been used throughout the game arent disabled. I hope u add this functionality, I can also provide a sample code which disables all buttons in a message if you wish.
The text was updated successfully, but these errors were encountered: