Please enable JavaScript.
Coggle requires JavaScript to display documents.
Building your first Discord app, ngrok, Interactions, Using ngrok with…
-
ngrok
-
Proxy là một dịch vụ cho phép người dùng ẩn địa chỉ IP thật của họ khi truy cập internet, giúp họ truy cập vào các trang web bị chặn mà không bị phát hiện. Đây là một công cụ hữu ích để bảo vệ thông tin cá nhân và duyệt web một cách an toàn.
You can use ngrok in development for webhook testing or in production as an API Gateway, Kubernetes Ingress, or Identity-Aware Proxy. You can also run ngrok to easily create secure connectivity to APIs in your customers' networks or on your devices in the field.
-
Interactions
What
It likes commands and message components allows users to invoke an app natively within Discord.When a user engages with one of your app's interactive features, your app will receive an interaction.
Types of Interactions
commands
Slash commands are the most common type of command and are accessed by typing / in the chat input, or by opening the command picker.
Message commands are commands related to a message or a message's content. They're accessed by clicking on the context menu (the three dots) at the top-right of a message (or right clicking on a message), then navigating to the "Apps" section.
User commands are commands that related to a user in Discord. They're accessed by right clicking on a user profile, then navigating to the "Apps" section.
Entry Point commands are commands used as the primary way to launch Activities from the App Launcher.
-
-
-
Modals
-
Modals can only be opened in response to a user invoking one of your app's commands or message components.
-
Using ngrok with Docker
-
for what?
Docker allows you to containerize ngrok for easy deployment and management. See the documentation for Docker configuration. You might want your tunnel to keep running even after you close your terminal window.