Code Monkey home page Code Monkey logo

thingbot's People

Contributors

blacoiso avatar buffet avatar

Watchers

 avatar

Forkers

buffet

thingbot's Issues

Support custom permission rules

This would allow modules to specify custom permissions or to add rules to existing permissions. Rules could be user ID, role ID and possibly also a permission check function.

Add timed tasks

This would allow commands/modules to schedule tasks to be executed in a specific context at a specific time, with some task data.
These would be triggered with a timedTask event, with arguments name, context and data.
name would be name of the task, context is the context of the task (user and/or guild), data would be any data required for that task.
The event would only be triggered to the module that registered the task.

Add permission detection things

Currently there's no permission checks for user/bot.

  • Check for permission to send messages/attachments/embeds
  • Check if user has owner permission
  • Check for user permissions (kick, ban, manage messages, manage roles, etc)
  • Check for bot specific permission overrides (in DB) (probably related to issue #6)

Allow commands/modules to be disabled

This would allow a command/module to be disabled on the entire guild, on a specific channel, for specific roles or users

Implementation status:

  • Code for checking restriction rules before attempting to execute command
  • Command for adding/removing/listing current rules

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.