Getting started
Make a bot
Open Settings → Bots in Orbit, pick a username (2–32 characters: letters, digits and _) and click New bot. Copy the token right away, because you won't see it again. You can have up to 10 bots.
A token looks like 1234567890123456789.Qm9...: the bot's ID, a dot, then a secret.
Add it to a server
You need Manage Server on that server. In Settings → Bots, pick the server under your bot and click Add to server. You can also paste the bot's ID in Server Settings → Bots.
Bots are private by default, so only you can add yours. Turn on Public if you want other server admins to be able to add it by its ID.
A new bot gets the server's default permissions. To let it moderate, give it a role with those permissions, placed above the members it should moderate.
Work as a team
In Settings → Bots, add people to your bot's Team by username, up to 10. Teammates can rename the bot, turn Public on or off, make a new token and add the bot to servers they manage. Only you can delete the bot or change the team, and anyone can leave a team on their own.
Say hello
export ORBIT_TOKEN='1234567890123456789.Qm9...'
curl -H "Authorization: Bot $ORBIT_TOKEN" https://api.orbitapp.ir/v1/users/@meYou'll get your bot back:
{ "id": "1234567890123456789", "username": "helper", "display_name": "helper", "avatar": null, "bot": true }To send a message you need a channel ID. Turn on Settings → Advanced → Developer mode and use Copy ID in the channel's menu:
curl -X POST https://api.orbitapp.ir/v1/channels/CHANNEL_ID/messages \
-H "Authorization: Bot $ORBIT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "Hello from my bot"}'Once that works, try a complete bot in Node.js, Python or Go.