-
Part of the guide or code sample the question is abouthttps://discordjs.guide/interactions/modals.html#building-and-responding-with-modals QuestionHello everyone! I need some help with the documentation. It explains how to make a pop-up window (modal) appear when a user types "/ping." However, I'm wondering if it's also possible to show this pop-up when a user joins the server. Here's what I'm trying to do: When a user joins the server, I want a pop-up to show up. Inside the pop-up, there will be a space where the user can type their email address. After they type their email and press a button, I will check on my database if they're allowed to be part of the community. If they are, the bot will give them a special role. If not, they'll get a different role. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
A user has to interact with your bot in some way to receive a modal (hence the term "interaction"). When a user joins a guild, you'll have to figure out a way how they can interact with your bot to receive a modal. This might be a button in a channel, for example. |
Beta Was this translation helpful? Give feedback.
A user has to interact with your bot in some way to receive a modal (hence the term "interaction").
When a user joins a guild, you'll have to figure out a way how they can interact with your bot to receive a modal. This might be a button in a channel, for example.