-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature Request: Add a move command #9
Comments
Assuming you meant something like
Of course we would have to find a way to do error handling, which could be through either DM's or ephemeral messages. Lastly the Does everything look correct? |
looks fine to me, as for error handling, a ephemeral probably makes the most sense here, considering thats just possible by responding to the interaction immediately, either ephemeral in an error case, or public in a success case |
Discord unfortunately does not have selects in modals yet. It is a planned feature that has been released off and on again, however it is not available to the general public (yet). As such, we'll instead choose to stick with ephemeral messages all the way for both error handling and user input. |
After further discussion on the Discord server, we've come to the conclusion that we should use a slash command with autocomplete. {
"type": 4,
"data": {
"id": "816437322781949972",
"name": "move cookie",
"type": 1,
"version": "847194950382780532",
"options": [
{
"type": 3,
"name": "Clicks: 111799",
"value": "0187e88d-f93f-5fc1-68e0-65b85f62c76d",
"focused": true
}
]
}
} The user would see the choice as "Clicks: 111799", while the bot would receive the button id. We're choosing autocomplete over the message command due to the restrictions that interactions enforce. As it is now, the bot is added as an integration without the bot scope. Due to the lack of the bot scope, we cannot interact with anything outside of the interaction. This would include posting messages in a different channel, which is why message commands are no longer an option. We want to refrain from adding the bot scope to our bot due to the complications it brings. Yes it allows our bot to have a lot more functionality, however it also introduces many safety checks that the server must verify and brings more work for the maintainers. Ultimately we believe the bot can be fully functional without the bot scope. |
Describe the new functionality
Add a command to move a cookie (by means of a message link perhaps?) to a new channel, incase there is a server architecture redesign, and you dont want to loose any cookies
The text was updated successfully, but these errors were encountered: