Skip to content

Pear0/discord-selfbot.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-selfbot.py

This is my personal Discord self-bot. Feel free to host and use it yourself.

Currently it's only command is >tex which will take whatever comes after it and will compile it as a latex snippet.

For example, send the message >tex $$\int_{a}^{b} x^2 dx$$ will trigger the selfbot to compile it and respond with:

Usage

First, you must have the following commands available in your PATH:

  • pdflatex
  • convert (part of ImageMagick)

Create a virtual environment with Python >= 3.5 and activate it:

$ virtualenv -p python3.5 venv
$ source venv/bin/activate

Install the dependencies:

$ pip install -r requirements.txt

Create a file called config.json at the root level with the field token containing your self token.

{
  "json": "token here"
}

Then run the bot:

$ ./launch.sh

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published