Giter Club home page Giter Club logo

aschenputtel's Introduction

Aschenputtel

Aschenputtel is a cutom Discord bot whose first functionality was to count the usage of server-specific emojis over time period. It also features a simple global permission system.

Setup

Install the dependencies by running python setup.py install

Run the bot once to get a config template: python src/aschenputtel.py

You can now edit the new config.json and add a bot token and yourself as owner (format: user#1234). You can of course edit the permission values manually. Just be aware that permissions work using the unique group/user-IDs given out by discord, not the account name. The owner makes an exception of this format to simplify setup.

Once you have allowd your admin groups access to allow, you can blank out the owner field and restart the bot. Note: blank out, as in "no value", the entry has to remain in the config anyway.

Commands

count {yyyy-mm-dd} {true|false} [list of channel names]: counts all emojis since the given time in the listed channels. If the second parameter is true, reactions are included in the count as well.

allow {true|false} {command name} {user or rolename}: allow the given user with displayname or role with that name to execute a command if the first parameter is true or disallows it if it is false. If there is role and a user with the same name, the role will get precedence.

aschenputtel's People

Contributors

ogrady avatar

Watchers

 avatar  avatar

aschenputtel's Issues

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.