Which ID goes in which field?
Paste the copied digits as text, with no spaces or mention wrappers. OniRelay's Discord ID fields expect 17 to 20 digits. IDs identify things; they do not grant permission to manage them. OniLink's join-bot setup does not require these Discord IDs.
- Discord server ID
- The community you own and are registering. Discord also calls a server a guild. Use the Server ID, not its invite URL.
- Discord chat channel ID
- The normal text channel that will receive Minecraft chat, inside that registered server. The channel name and a message link do not work here.
- Workspace staff: Discord user ID
- The person receiving portal access. Use their User ID, not a role ID, display name or @mention.
- Owner setup: Application ID / Bot user ID / Hub server ID
- These belong to OniNetwork's shared bot and main hub. They are operator settings. A community customer does not need to create an application or enter bot credentials.
First: enable Developer Mode
This reveals Discord's copy-ID actions. You do not need to become a developer or create a Discord application.
PC · Desktop or browser
Discord desktop or browser: bottom-left User Settings gear, then Advanced. Turn on Developer Mode.
Mobile · iPhone or Android
Discord iOS or Android: bottom-right avatar, top-right settings gear, then App Settings > Advanced. Enable Developer Mode.
Copy the Server ID
Return to OniRelay > Open community services > Register a community. Paste into Discord server ID, then choose Verify and register.
PC · Desktop or browser
Right-click your server's icon in the server list. Choose Copy Server ID.
Mobile · iPhone or Android
Open the server, tap its name at the top, then scroll to Copy Server ID.
Copy the Channel ID
Paste into Discord chat channel ID in the Chat relay (free) request. Use a normal text channel belonging to your registered community.
PC · Desktop or browser
Right-click the text channel in the channel list. Choose Copy Channel ID.
Mobile · iPhone or Android
Long-press the text channel in the channel list, then scroll to Copy Channel ID.
Copy a User ID, including a bot's ID
For Workspace staff, copy your teammate's ID. For the owner's Your Discord user ID field, copy your own profile. For Bot user ID, copy the shared bot's profile instead. These are three different identities.
PC · Desktop or browser
Right-click the person in chat or the member list. Choose Copy User ID.
Mobile · iPhone or Android
Tap the person's profile, open the three-dot menu at the top right, and choose Copy User ID.
If Copy ID is missing or setup rejects it
Discord can move menus between versions. The official illustrated guide below covers desktop and mobile and is the reference if your screen looks different.
- Check Developer Mode again in the Discord client you are using, then reopen the correct context menu.
- Make sure you are copying the server or channel itself. Copying a message or invitation produces a different value.
- Paste the value into a temporary plain-text note to check for extra spaces, then paste the digits into the matching form. Do not round a long ID in a spreadsheet.
- A correct ID can still fail ownership, membership or channel-permission checks. Follow the error shown by OniRelay rather than trying unrelated IDs.
OniNetwork owner only: application and hub fields
Bot token and OAuth client secret are private credentials, not IDs. Enter them only in the protected owner setup fields. Never paste them into tickets, chat or a customer community form. Customers use Connect Discord and Add bot to your server instead.
- Application ID
- In a browser, open Discord Developer Portal, select the shared OniRelay application and open General Information. Copy Application ID (also called Client ID). On a phone, use the browser's desktop-site view if the portal layout is difficult to use.
- Bot user ID
- Copy the shared bot's User ID from its Discord profile using the instructions above. The owner form defaults this to the application ID.
- Your Discord user ID
- Copy the OniNetwork owner's own User ID, not a customer owner's ID.
- Hub server ID
- Copy the Server ID of OniNetwork's central support/community hub, not a customer's registered Discord server.
- Hub invite URL
- A working invitation link to the main hub. This field expects a URL, unlike the numeric Hub server ID.
- OAuth redirect
- Use the exact callback URL displayed in the owner form when configuring the application's OAuth2 redirect. This is a URL, not a Discord ID.