Git Product home page Git Product logo

dashbot's People

Contributors

binoue avatar dependabot[bot] avatar oldstarchy avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

binoue banban9999

dashbot's Issues

!help should be more helpfull

List all the commands available would be useful, though I'd want to wait for permissions to be added before just telling everyone all the commands.

Depends on:

Reminders set past 12am are misleading

1 minute past midnight reminders for tomorrow should not be set for tomorrow, rather dashbot should confirm the correct time.

Eg.

its 00:01 on the 1st and user says "!remind 9am tomorrow something" dashbot should prompt "do you mean 9am today (1st) or tomrrow (2nd)?"

Please add user manual

I think this project is very cool and I want to use.

However, there are no docs or README.md and I can not figure out how to use this.
Please add any documents to guide the usage of this program.

Thanks,

The roll interaction doest use tags

the response from dashbot when prompted to roll a die eg. roll d40 uses @username but its not a real tag, just text.
@Old Starchy, rolling a D40...
11

Should use the members tag so it pings them.

Doesn't reconnect after internet drop

When the internet disconnects (as it does these days with everyone WFH), it doesn't reconnect, or do anything really.

It just keeps running but is now offline.

Dangling RCon connections prevent Minecraft shutdown

If DashBot is running and connected to RCon when Minecraft tries to stop, it causes Minecraft to go into a loop "waiting for shutdown". Although this is probably a bug in Minecraft, closing the connection when not in use will likely help.

Nested tracery grammars

A lot of responses from tracery come from a base grammar which is then cloned and the message specific details (like author) are added.

It would be a better API to be able to nest/extend the grammars per scope.

const rootTracery = new Tracery(grammar); // Compiled once

function someTimeLater(author: Author) {
    const subTracery = rootTracery.extend({ author }); // Only new grammar is compiled here
    return subTracery.generate('origin');
}

This also saves having to clone the original grammar for every response.

Add user permission levels

Not all users should be able to do all the things. At the very least, DashBot should respect server admin roles.

Add more stats

Now that the stats functionality is better (#10) more stats should be recorded for various interesting things.

Add documenation

It doesn't even mention in the readme that DashBot can relay messages from Minecraft.

Also, API docs are required if I expect anyone else to ever use this project.

Add Poll function

Add ability to run polls, much like the many existing poll bots out there.

eg.
!poll "Should the answer be yes?" -> Yes/No poll
!poll "What should it be?" This That "The other" -> multiple choice poll

More suggestions welcome.

Move Tracery to its own repo

Tracery should really be moved to its own repo and added as a dependency. Its had a lot of changes since it was first imported (eg. it was completely rewritten).

Combine similar actions

ABResponseAction, OneOffReplyAction, and TraceryAction all do very similar things. They should be combined. It would be best to move all the canned responses to tracery grammars to make it easier to extend them and provide some more rich content.

Stats are very basic

Currently, the stats recorded are super duper basic, and the API for tracking events is also very basic.

Some improvements could be made, but not sure what exactly.

Roll multiple dice

roll d15 is nice but it would be better if we could roll 2d6 to roll multiple times and get various stats about the rolls

eg.

roll 3d6

 Roll 1 | Roll 2 | Roll 3
--------|--------|--------
      5 |      3 |      1

 Min | Max | Average (mean)
-----|-----|----------------
   1 |   5 |              3

or to just get one stat

roll 3d6 max -> 5 or roll 3d6 mean -> 3

Update discord api

Discord has added slash functions for bots and message threads. Dashbot should work with both.

DashBot stops on it's own

When left running unattended on my Raspberry Pi it will eventually stop for no discernable reason.

No errors are logged, even though all all uncaught exceptions should be logged.

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.