GithubHelp home page GithubHelp logo

talos's Introduction

Talos

A modular discord bot made for a Greek-themed server. Automatically grants full membership to trial members, a trial role to new members, has basic moderation commands, greets new users, and more soon to come!

Installation

You must have node.js and mongoDB installed locally for this to run.

Setup: This bot will never be shared to other servers, however you may use the code for your own bot.

$ git clone https://github.com/jondekerh/Talos.git
$ cd Talos
$ npm install

I recommend using pm2 to run both the bot and the instance of mongodb you'll need for it to work in your production server. You'll also need to make an auth.json file in the same directory as bot.js with your bots token in it. It should look like this:

{
"token": "YOUR-TOKEN-HERE"
}

Running on the Server: Once the bot is running alongside your instance of mongoDB you'll need to use a few commands in your server to make it work. For more info on the following commands you may type T help in any channel while the bot is running. For any role assignments you must include the parenthesis in ([role]), and channels must be mentioned using the pound symbol. Use the grammatically correct and case-sensitive name of the role you want to assign.

T init
T starting-role ([role])
T granted-role ([role])
T greeting-channel #[channel]
T rules-channel #[channel]
T bot-channel #[channel]

Some variables, like the number of posts a member needs to get the granted-role or the cooldown for a post to be credited, can be changed with additional commands found by typing T-help in the server. The default variables are 400 posts, 14 days, and a 60 second cooldown.

As long as these steps are performed on every server that you add your instance of the bot to it will function fully on all of them. With that being said, sharding is not implemented in any way - so expect errors if it's on too many servers.

To Do

  • Figure out how to test discord bots and add tests.
  • Revamp this README to accommodate small changes made to many functions.
  • Revamp help command to be more aesthetic.

License

MIT

talos's People

Contributors

jondekerh avatar

Watchers

 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.