Giter Club home page Giter Club logo

discord-bot-go's Introduction

Hey, I'm TwiN! πŸ‘‹

Follow TwiN

Just another person trying to embrace their passion prevent the vicissitudes of life from taking away their passion.

Currently building my first SaaS during my free time: gatus.io

πŸ“ Latest Blog Articles

πŸ“Š Statistics

TwiN's Most Used Languages TwiN's GitHub Stats

discord-bot-go's People

Contributors

twin avatar

Watchers

 avatar  avatar

discord-bot-go's Issues

Use a database for some configuration

I can imagine permissions becoming very messy if the bot is used in multiple guilds (see #2), which is why moving part of the configuration to a SQL/NoSQL database would be a very good idea.

At first, I was thinking of maybe just using something like SQLite, but perhaps something like MongoDB would be more future-proof (or rather, scalable).

Implement self-assignable roles

The bot should, if commanded to, implement self-assignable roles.

For instance, enabling self-assignable color roles would do the following:

  • Create a category called roles
    • Nobody except the bot and its admins themselves should be allowed to post in the channels of this category
  • Create multiple roles who have the effect of changing the color of the name of a person (e.g. color-red would set the color of the user to red, color-white would change the color of the user to white, etc.)
  • Create a channel in the newly created category named roles-color
  • Send a message in that channel with each color next to an emoji

e.g.

:regional_indicator_a: color-red
:regional_indicator_b: color-white
...
  • Listen to reaction events on that message
    • If the reaction is the emoji representing one of the roles, then give the user who reacted said role (e.g. user reacts with :regional_indicator_a:, bot assigns role color-red to user)

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.