An npm personal module for interacting with the Discord API focusing on self-bot accounts
MIT License
selfo.js is an personal node.js module forked from Discord.js that allows you to interact with the Discord API focusing on self-bot accounts.
Selfbots violate Discord TOS and Discord-Bots TOS. Be careful about how you use this module and use at your risk.
Ignore any warnings about unmet peer dependencies, as they're all optional.
npm install selfo.js
npm install selfo.js node-opus
const { Client } = require('selfo.js');
const client = new Client();
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
});
client.on('message', msg => {
if(msg.content == 'Hi')
msg.channel.send('Hi xD');
});
client.login('ACCOUNT TOKEN');
Contributions are welcome! Please feel free to open an issue or submit a pull request, for bug fixes or new features.
git checkout -b <new-feature-name>
git commit -am "Add new feature"
git push origin <new-feature-name>
Many thanks!