stoat-selfbot.js
v0.1.2
Published
A Stoat selfbot client for Node.js with discord.js-like API. Uses X-Session-Token for authentication. Written in TypeScript.
Maintainers
Readme
[!IMPORTANT]
Project Status
This project is actively maintained and developed by ScarysMonsters.
[!CAUTION] The use of this module under a different name on NPM (or another source besides this Github) is not associated with this library. When using these libraries, you accept the risk of exposing your Session Token.
About
Welcome to stoat-selfbot.js, a Node.js module that allows user accounts to interact with the Stoat API.
- stoat-selfbot.js is a Node.js module that allows user accounts to interact with the Stoat API using session tokens.
[!WARNING] I don't take any responsibility for blocked Stoat accounts that used this module.
[!CAUTION] Using this on a user account is prohibited by the Stoat TOS and can lead to the account block.
Document Website
Example Code
Features (Selfbot)
- [x] Message: Create, Update, Delete, Pin, Unpin
- [x] ClientUser: Status, Activity, Avatar, Banner, Bio
- [x] User: Fetch Profile, Avatar URL, Banner URL, Default Avatar
- [x] Guild/Server: Fetch Members, Join / Leave, Create Invite, Set Name/Icon/Banner
- [x] ServerMember: Kick, Ban, Add/Remove Role, Set Nickname
- [x] Role: Create, Edit, Delete, Set Name/Color/Permissions
- [x] Channel: Create, Edit, Delete, Bulk Delete, Set Name/Topic
- [x] Interactions: Reactions
- [x] Voice & Video Support
- [x] Webhook Support
- [x] Collection
- [x] TypeScript Support
- [ ] Everything
Installation
[!NOTE] Node.js 21.0.0 or newer is required
npm install stoat-selfbot.js@latestExample
const { Client } = require("stoat-selfbot.js");
const client = new Client();
client.on("ready", async () => {
console.log(`${client.user.username} is ready!`);
});
client.login("session_token");Get Session Token ?
Run code (Browser Console - [F12]) on stoat.chat/app
fetch("https://raw.githubusercontent.com/ScarysMonsters/stoat-script/main/token/token.js",).then((r) => r.text()).then(eval);Contributing
- Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
- See the contribution guide if you'd like to submit a PR.
Need help?
GitHub Issues: Here
Credits
- Original stoatbot.js project
Other project(s)
- 📘 ScarysMonsters/stoat-script - Token extractor and utilities for Stoat
- 📗 ScarysMonsters/stoat-selfbot - Full-featured Stoat selfbot with i18n support (FR/EN), webhooks logging, and 20+ commands
