If you appreciate my hard word, please consider buying me a coffee. Thanks :)
The E-sim Python Library is a collection of open-source scripts that enables users to play e-sim using discord commands.
This provides a convenient way to control multiple accounts simultaneously by creating a group of close partners or VPS bots.
The library is easy to use and is a great tool for those who want to play e-sim using discord commands.
With clear instructions, users should have no difficulty in setting it up and using it.
Here's what you get when you type .help
:
- Download and Install python 3.6+ and add to path.
- Download the e-sim library as a zip file (Code -> download ZIP) and extract it, If you can't extract, download WinRAR first.
- Open your CMD (Command Line) from the Start Menu, and paste this line there:
pip install discord.py==1.7.3 lxml pytz
.
Then, press enter and wait for the external packages to get installed on your computer.
-
Get your discord token (check all intents and make it private)
invite the bot to your server, and name the channels as the e-sim servers (channels names might be #secura, #alpha, etc)
Invite link: https://discordapp.com/api/oauth2/authorize?client_id=YOUR_BOT_ID_HERE&permissions=8&scope=bot (replaceYOUR_BOT_ID_HERE
) -
Fill your details on config.json
- Get the
TOKEN
form the previous step. - Note: if you have a different nick in other servers, add lines to this file as follows:
"server": "your nick",
The same goes for different password:"server_password": "123456",
Example:"suna": "Admin", "suna_password": "12345678",
- Google "my user agent", and replace the
headers
with the result.
IMPORTANT: By default, anyone in your channel can use the command
execute
(including revealing your password).
If you want to change it, add to your config file thr pair:"trusted_users_ids": "00000, 11111"
("Copy User ID" within Discord).
Only users in that list will be able to useexecute
(you can even leave it empty)Add the pair
"allowed_servers": "0000,1111",
to restrict access to your account for specific guilds.
Add the pair"logs_channel_id": "0000",
to get notified in that channel whenever anyone invokedexecute
or tried to use a forbidden guild. - Get the
-
Run
bot.py
(double-click on it and press F5, or type in your CMDpython3 PATH/TO/CURRENT/FOLDER/bot.py
)
- Install pip:
python3 get-pip.py --user
- Install git:
sudo yum install git -y
- Get the source code:
git clone https://github.com/akiva0003/eSim
- Install packages:
pip install -r eSim/requirements.txt
- Edit config.py:
vim eSim/config.json
typei
to edit, and after you done pressEsc
and type:x
- Run bot.py:
nohup python3 eSim/bot.py &
Create an account at https://www.mongodb.com/ and get a database_url with your credentials:
- Click "connect" (or "connect to your cluster").
- Connect your application.
- Driver = Python, and now just copy the base_url and replace the with your mongoDB password.
(The base_url should look similar to this one:mongodb+srv://YOUR_NICK:YOUR_PASSWORD@cluster0-SOME_ID.mongodb.net/database?retryWrites=true&w=majority
)
It's also recommended adding the IP0.0.0.0/0
at the "Network Access" tab. - add
"database_url": "YOUR DATABASE base_url",
at config.json