Giter Site home page Giter Site logo

yagpdb-star-board's Introduction

YAGPDB Star Board

A star board function for YAGPDB, simple as that.

image

How does it work?

After a certain defined of users or after a member with a particular role react to a post, YAGPDB will copy the contents of the post to a new embed in another channel. This works as a way to show what people like/laugh at/enjoy.

Why?

I don't like having several Discord bots that serve only say one purpose. YAGPDB doesn't have a built in star board, so we used Dyno for a long time. This eliminates Dyno.

Less bots, more secure.

How to use

It's pretty straightforward, you will see variables at the top of the file which are what you should edit.

  • reactionEmoji sets what emoji will be used.
  • minReactions sets the minimum number of reactions from all users that are needed in order for the post to get copied over. Using a greater than or equal to here.
  • reactorRoleIDs is a space separated list of role IDs which bypasses the number limit.
  • repostChannelID is what channel the starred posts get sent to.

Once you have modified your variables, install the custom command in YAGPDB in the management UI, set it to trigger on react, and you are done!

yagpdb-star-board's People

Contributors

woovie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.