Built-in bots
External bots
Gateway
WEBSOCKET
wss://bots.agent47.uk/ws
Authenticate first with {"type":"bot_auth","token":"a47bot_…"}
Subscribe with {"type":"bot_subscribe","events":["MESSAGE_CREATE","MEMBER_JOIN","VOICE_STATE"]}
Send with {"type":"bot_send_message","channel":"general","text":"Hello"}
messages.read
Receive MESSAGE_CREATE events.
messages.send
Post bot messages into text channels.
members.read
Receive MEMBER_JOIN events.
voice.read
Receive VOICE_STATE events.