Coder Social home page Coder Social logo

boolean's Introduction

Boolean

Boolean's Picture

About

Boolean is a Discord bot for the Conaticus' Discord server. Boolean contains a collection of useful modules for your server, like a mod mailing system, a custom role menu, etc. Want to see how Boolean was made? Watch the development process here

Setup and configuration guide

Requirements

- Postgres Server
- Node v16x or above

Installation with Docker

If you don't have a server, you can use Docker to host the bot. You can simply use the docker-compose up command to start the bot.

If you need to update the bot, you can use the docker-compose down command to stop the bot, and then use the docker-compose up --build command to start it again or make sure to pull down latest changes from git using git pull origin master or use the built-in script scripts/update.sh.

Installation

If you have all the requirements for hosting the bot, please follow the next step carefully!

  1. Clone this repository to your computer, or to your vps.
git clone https://github.com/conaticusgrp/boolean
  1. Copy the contents of the .env.example file to the .env file and fill in the values. (Make sure you have declared the bots token in the .env file!)
  2. Create a new database with your MYSQL server, and make sure you have the correct credentials in the .env file.
  3. Run the following command to install the dependencies:
npm install
  1. Run the following command to start the bot:
npm run dev

Configuration

Configuration can be performed via the /config command to set special roles and channels that the bot identifies and utilizes.

Logging

Console levels and their references

  • Fatal : logger.console.fatal("")
  • Error : logger.console.error("")
  • Warn : logger.console.warn("")
  • Info : logger.console.info("")
  • Debug : logger.console.debug("")
  • Trace : logger.console.trace("")
  • Silent : logger.console.silent("")

Channel logging

-Embed : logger.channel(<EMBED>, <CHANNEL>)

Contributing

Look at the CONTRIBUTING to find out how you can help contribute to the development of this bot.

Support

If you have any questions, please join the Discord or open an issue here on GitHub.

Youtube

If you like cool coding projects like this, subscribe to Conaticus

boolean's People

Contributors

benjammingkirby avatar catplvsplus avatar conaticus avatar derpinou avatar devshaded avatar distantszn avatar dylhack avatar fartdev avatar firebreak-2 avatar fizzify avatar hordlawk avatar infinitydevtech avatar jakob5358 avatar julixndev avatar kitsunekenshi avatar leocatsune avatar mattplays avatar max-programming avatar mohamedarish avatar noobif-y avatar parasharsangeet avatar phill030 avatar realjobogamer avatar revot334 avatar shocktr avatar shungjung avatar speckyyt avatar stungjung avatar xhayper avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.