GithubHelp home page GithubHelp logo

katreque / bottotherobot Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 496 KB

Botto is a Discord bot template made to help you build your community from scratch, with the tools you need.

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%
template discord-bot moderation

bottotherobot's Introduction

Botto Logo

Botto the Robot

Botto is a Discord bot template made to help you build your community from scratch, with the tools you need.

Coverage Status Discord License

How it Works

Botto provides useful functions and tools to power-up your Discord bot, totally free. With Botto is possible to:

  • Generate roles, channels and it's permissions based on your template with a single command.
  • Users are able to get/remove the allowed roles to themselves.
  • Add your own code.

All you need to deal with is the hosting. (AWS provides a 12 months free hosting if you need)

Getting Started

  1. Install Node.js 16.6.0 or newer.
  2. Fork and download the Botto Project.
  3. Ajust the template file.
  4. Setup your bot info on the .env file.
  5. Run npm i and npm run commands before Botto's first execution.
  6. Run npm start and invite the bot to your Discord server with the link provided on the console.
  7. Run the /template command on any channel of your Discord server.
  8. Done!

Documentation

Contributing

Code of Conduct

Our Code of Conduct is adapted from the Contributor Covenant with some aditions. Make sure to read it in order to be part of our Community.

Contributing Guide

We appreciate any kind of contribution! :3 Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Botto.

About

Botto was created as a project inside Terê AWS User Group as a way to help other communities to born and grow. If you have any interest in learning about the ideia, share thoughts or want to join the core team, feel free to join our Discord.

License

Botto is BSD 3-Clause Licensed.

bottotherobot's People

Contributors

gpcalmeida avatar katreque avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

internetramen

bottotherobot's Issues

Save language info

Get the language parameters from the generation command (as described on #10) or use the default language of the User that sent the command (using the Discord API). This info needs to be stored and will be used in the future.

Command to generate default template

Create a command to call the template generation function and handle the size and the language for that template.

The size should be a Enum based on the small, medium, big and giant options.
The language should be a Enum based on the EN and pt_BR options.

Create Getting Started

Start the implementation of the Getting Started.

  • Installing Botto the Robot. (Wait until our Package is published)
  • Creating a Discord bot.
  • Configuring Botto.
  • Adding Botto to a Discord Server.
  • Choosing a template and executing it.
  • Link to a tutorial for hosting the bot on AWS. (Issue to create a tutorial here)

Remove console logs from warning

On the eslint, remove the console logs from the warning list. It should be accepted because we use it to show some important info to the user.

Template Execution

Time to implement the template execution on the user's command. It should get the template structure and replicate it on the Discord server.

Create permission handler

Create a Permission handler where we can map Discord permissions (the most important and used) into a JSON. And we can use it on our config file and the template generation.

@everyone ignoring role rules

Members without a role can see and access all channels created by Botto. They should have only basic access depending on what each template offers.

Persist user's discord bot info

  • Get User's Discord bot id and token (secret) and how to store it.
  • Command to start the bot.
  • Generate link to add the bot to the Discord Server.

Handle commands from Admin

Create a command handler to the bot.

  • Check the bot prefix in the .env.
  • Detect the bot commands.
  • Only execute commands if the user has admin privileges.

Template structure

What Modules should be added to each Template and it's respective Size (small, medium, big or giant)?

Actual Templates:

  • Default
  • Tech
  • Gaming

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.