Compatibility
See compatible systems below
# |
Os |
Version |
Status |
1 |
Ubuntu |
18.04 |
✔ Working |
2 |
Ubuntu |
20.04 |
✔ Working |
3 |
ArchLinux |
2020.09.01 |
✔ Working |
4 |
Windows |
7 |
⚠ Not recommended |
5 |
Windows |
8/10 |
⚠ Should work | Not recommended |
Requirements
For a smooth running bot.
NodeJS version |
Minimum v12.18.4 |
Domain name |
Recommended for the normal webserver installation process |
Minimalist |
Intel Core i5 4250U | 1 GB Storage | 256 Mo Ram |
Recommended |
Intel Core I7-4790 | 1,5Gb SSD storage | 1 Gb Ram (up to 2 for high traffic) . |
Webserver installation
- Install
Certbot
if you don't have it.
- Change
BASE_URL=""
to BASE_URL="http://DOMAIN"
.
- Change
STATUS_URL=""
to STATUS_URL="http://DOMAIN"
(the url you want to get the status from).
- Put the channel id for the automatic status report
STATUS_CHANNEL=""
.
- Change
STEP=""
to STEP="install"
.
- Start your bot, with the forever-package (
forever start server.js
).
- Execute
certbot certonly -n -d YOUR-DOMAIN
(can be different on some systems).
- Change
STEP="install"
to STEP="live"
.
- Change
BASE_URL="http://DOMAIN"
to BASE_URL="https://DOMAIN"
.
- Change
SSL_PRIVKEYPEM=""
to SSL_PRIVKEYPEM="/etc/letsencrypt/live/DOMAIN/privkey.pem"
.
- Change
SSL_CERTPEM=""
to SSL_CERTPEM="/etc/letsencrypt/live/DOMAIN/cert.pem"
.
- Restart your bot. (
forever stop server.js
/ forever start server.js
)
Configuration
Each file has fields containing text that can be changed, they mostly are in french but can easily be changed by opening the files.
Most of the webserver related text is in /views/
, it's writen with .pug
, unless you know how it works just touch to the translations.
If you cant find the text your a looking for, look in server.js
You can modify the rules ( p:rule help
) in /commands/rules.js
To be simple everything can be found in (for now) :
/
/automatic/
/views/
/commands/
/discord.js
/server.js
If you just want some commands, install it completely then, open discord.js
and modify the commands to something nobody knows.
Do not forget to modify the help command in the same file to remove unused commands.
Section Item 4.1
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 4.2
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 4.3
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 6.1
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 6.2
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 6.3
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 8.1
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 8.2
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Section Item 8.3
Vivamus efficitur fringilla ullamcorper. Cras condimentum condimentum mauris, vitae facilisis leo. Aliquam sagittis purus nisi, at commodo augue convallis id. Sed interdum turpis quis felis bibendum imperdiet. Mauris pellentesque urna eu leo gravida iaculis. In fringilla odio in felis ultricies porttitor. Donec at purus libero. Vestibulum libero orci, commodo nec arcu sit amet, commodo sollicitudin est. Vestibulum ultricies malesuada tempor.
Modifications (FAQ Category One)
Are modifications of any kind authorized?
This project is open source, you can modify and resell it (even if i don't like the idea), for more details about the license visit GitHub.
How do i change the bot language ?
Assuming you are not talking about the programming language, there is no "language config" yet, unfortunately you have to do it by opening the files manually
Selling (FAQ Category Two)
Paypal isnt working!
Be sure you have followed correctly the installation process and that the credentials are correct, PAYPAL_USERNAME
is not your litteral password, same thing for PAYPAL_PASSWORD
Can someone use the api credentials to manipulate my account?
Yes and no, DO NOT show the informations of .env
to anyone and be sure that .env
cannot be accessed by a simple url.
GitHub (FAQ Category Three)
I want to add a feature, how can i?
Start by downloading the bot and create your own version, once you finished create a pull request on GitHub.
How long bibendum sodales?
Fusce vulputate eleifend sapien. Vestibulum purus quam, scelerisque ut, mollis sed, nonummy id, metus. Nullam accumsan lorem in dui.
Where dapibus sollicitudin?
Aenean et sodales nisi, vel efficitur sapien. Quisque molestie diam libero, et elementum diam mollis ac. In dignissim aliquam est eget ullamcorper. Sed id sodales tortor, eu finibus leo. Vivamus dapibus sollicitudin justo vel fermentum. Curabitur nec arcu sed urna gravida lobortis. Donec lectus est, imperdiet eu viverra viverra, ultricies nec urna.