Giter Club home page Giter Club logo

saturn-bot's Introduction

Version TypeScript Node.js Discord.js License GitHub Actions

DigitalOcean Referral Badge

Overview

Saturn is a full-modular multipurpose, user and developer-friendly discord bot. Just perfect for manage your server and provide the best experience for you and your community. All of that and more, together on the most fantastic planet in our solar system!

How to use (MUST READ)

Saturn is a self-hosted bot, this means you will need to host and maintain your own instance. For that, you can instantiate at your own machine or you can use a cloud platform to do that. A great cloud platform that I have used before and recommend is Heroku, it's a nice cloud service that offers great compatibility for apps like this one, and also has a free plan option.

Please notice, that you're NOT allowed to upload this bot to any service such as "discordbotlist" or "top.gg". You're only allowed to host this bot for your community.

In this step-by-step, I will only cover how you can set Saturn in your own machine. Also, notice that each topic in the next sections has a brief description in the title explaining what we're about to do. With that being said, let's move on.

Getting started

First things first, make sure that you have git, node, and npm installed. Then open your terminal or cmd and type the commands below.

Cloning this repository and cd'ing into the project's folder

git clone https://github.com/larafe1/saturn-bot.git

cd saturn-bot

Setting up everything

-- Using npm:
npm install

-- Using yarn:
yarn

When the installation finishes, find the .env.example inside of the project's folder and open it with some text editor of your choice.

Now, make sure that you have your bot token and app id in hands โ€” in case you don't know how to get these things, go to the Discord developers portal and create a new app, copy your application id and then, go to the "Bot" section and copy your generated token.

After that, set your credentials, and also, your GUILD_ID. When you're done, rename the .env.example to .env.

BOT_TOKEN=
BOT_APP_ID=
GUILD_ID=

Saturn also provides integration with Prisma, which is an ORM, and already has a built-in error database, which is a database that stores all the errors that the bot has encountered during its runtime. This can be useful for debugging purposes. To have this feature enabled, you must set the DATABASE_URL environment variable to the URL of your database, which is also available in the .env.example file.

DATABASE_URL=

Running

-- Using npm:
npm run dev

-- Using yarn:
yarn dev

Final considerations

That's pretty much it, thanks for using Saturn and have fun!

Also, in case you wanna contribute to this project, PRs are more than welcome, feel free to open one.

This project is licensed under a GNU General Public License v3.0 License

saturn-bot's People

Contributors

larahfelipe avatar dependabot[bot] 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.