Socket
Socket
Sign inDemoInstall

selfo.js

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selfo.js

An npm personal module for interacting with the Discord API focusing on self-bot accounts


Version published
Weekly downloads
4
decreased by-81.82%
Maintainers
1
Weekly downloads
 
Created
Source

selfo.js


NPM version NPM downloads GitHub Version GitHub Version

NPM info

About

selfo.js is an personal node.js module that allows you to interact with the [Discord API] (https://discordapp.com/developers/docs/intro) focusing on self-bot accounts.

  • Object-oriented
  • Predictable abstractions
  • Performant
  • 100% coverage of the Discord API

Warning

Selfbots violate Discord TOS and Discord-Bots TOS. Be careful about how you use this module and use at your risk.

Installation

Ignore any warnings about unmet peer dependencies, as they're all optional.

  • Without voice support: npm install selfo.js
  • With voice support (node-opus): npm install selfo.js node-opus

Example usage

const { Client } = require('selfo.js');
const selfo = new Client();

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});

client.on('message', msg => {
  if (msg.content == 'ping') {
    msg.reply('pong');
  }
});

client.login('ACCOUNT TOKEN');

Extensions

Contributing

Before creating an issue, please ensure that it hasn't already been reported or suggested.

Keywords

FAQs

Package last updated on 22 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc