Haha yes discord bot
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Loïc Bersier 1b66983fb7 switch to mysql 5 years ago
board Need that folder 5 years ago
bye bye folder 5 years ago
commands switch to mysql 5 years ago
dictionary Added exclamations, greetings and yesno 5 years ago
event switch to mysql 5 years ago
img When april first, start Haha yes gold 5 years ago
json added 2 users 5 years ago
migrations switch to mysql 5 years ago
models switch to mysql 5 years ago
tag added board/*.json and tag/*.json 5 years ago
welcome welcome/ 5 years ago
.eslintrc.json 5 years ago
.gitignore added twitter censor/uncensor 5 years ago
LICENSE Changed license to AGPL 5 years ago
README.md dredit to rantionary 5 years ago
buildConfig.py added bot ID to the minimum version 5 years ago
config-exemple.jsonc prefix need to be in [] 5 years ago
emojiCharacters.js Changed indent 5 years ago
index.js if config.json dosent exist, throw error saying they need config.json 5 years ago
package.json updated some packages and use sequelite with mysql 5 years ago
rand.js work too when message isint passed 5 years ago

README.md

Haha Yes

A multi function discord bot.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to install the following

https://github.com/Automattic/node-canvas

Installing

git clone https://gitlab.com/loicbersier/discordbot
cd discordbot
npm init -y
npm install

To run the bot either use pm2

npm install -g pm2
pm2 start index.js --name(insert name)

or node

node index.js

If on linux you can also do

nohup node index.js &

You can now use the python script buildConfig.py to build a config.json

Built With

Authors

  • Loïc Bersier

License

This project is licensed under the GNU Affero General Public License v3.0 License - see the LICENSE file for details

Acknowledgments