1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-08 19:32:30 +01:00

Create Bots

This commit is contained in:
Flam3rboy 2021-10-08 11:55:21 +02:00 committed by GitHub
parent 0999558dab
commit 4f85ad20d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
docs/setup/Bots Normal file
View File

@ -0,0 +1,6 @@
# Bots
Fosscord is backwards compatible to discord, which means you can reuse your existing discord bot library and only need to change the api endpoints.
Currently the bot dashboard is still in development and not yet finished. Until then you can use regular user accounts.
To get the user token, open the instance in your browser and enable DevTools (hit ``F12`` or ``Right click on the page -> Inspect``).
Logout, register a new account and navigate to the network tab inside of the DevTools. (image coming soon)
Enable the xhr/fetch request filter and click on any api request and copy the ``Authorization`` header.