<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" /> Command Information
Omni's /access-code
command allows users to create access codes outside of the web app. When a code is generated, it is synced and generated within the web app. To maintain a high level of security for this command, the access code generated will not be displayed in the embed response. Instead, the embed will contain a URL to access the "Code Manager" aka “Access Codes” within the Omni web app.
</aside>
Descriptions associated with a command and it's required/optional arguments within Discord.
Command & Arguments | Discord Description |
---|---|
/access-code |
Displays the lock status of the server. |
<code> |
Access code to get into the server. |
[duration] |
How long the access code will be valid for. |
[uses] |
Number of times the access code can be used. |
These JSON code snippets are provided as a reference for styling and layout purposes only. They do not include or consider dynamic data or variables. Bolded styles, extra spaces, etc. are all intentional.
/access-code
Embed designs are located in the Figma file below inside the “Bot Embeds” page.
https://www.figma.com/file/scKt1PpMV0hfUBSnawVYoE/Omni-App-Design-(Internal-Overhaul)?node-id=1936%3A78125&t=DnBM3EEgy25NDqBh-1