External Discord feeder for AIL framework. (with a manually created user account)
⚠️ Automating user accounts is against the discord TOS, so use at your own risk
It is recommended to create a new account specifically for this purpose, as there is a chance that the account may get banned.
Install the Python dependencies:
pip3 install -U -r requirements.txt
- Copy config file:
cp etc/conf.cfg.sample etc/conf.cfg
Add your discord token in etc/conf.cfg
:
- Login in with your web browser to discord.
- Open the developer tools (CTRL+SHIFT+I).
- Click the Network tab.
- Click the XHR tab (filter by XHR).
- Select a request and click the Headers tab.
- Copy-paste the token value in the Authorization header.
⚠️ Do not share your token! A token gives full access to an account. To reset a user token, logout all your devices
feeder.py
- chats ( List all joined chats_ )
- messages [Chat ID] ( Get all messages from a chat )
- --media ( Download medias TODO: size limit + save_dir )
- monitor ( Monitor all joined chats )
- entity [Entity ID] ( Get chat or user metadata )
Log in to Discord using your web browser and manually join or leave chats.
Some servers require you to submit a captcha or fill out a form.
python3 bin/feeder.py chats
Running this action will output a list of chats IDs your Discord account has joined.
python3 bin/feeder.py messages CHAT_ID
python3 bin/feeder.py monitor