oldstarchy / dashbot Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Add version numbers to the storage file format and handle version change migrations to reduce the effort required when automating deployments.
We need more tests!
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)?"
Split it into smaller files somehow.
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 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.
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.
pls
About greeting message, the bot name is specified as dash
coded here
I think its better if we can use like hi <bot name>
, instead of hi dash
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.
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.
Not all users should be able to do all the things. At the very least, DashBot should respect server admin roles.
Now that the stats functionality is better (#10) more stats should be recorded for various interesting things.
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 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.
Remove magic string ”DashBot” from the code and get it from a config file somewhere.
Some commands should require special permissions to use.
Depends on: #20
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).
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.
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 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
Discord has added slash functions for bots and message threads. Dashbot should work with both.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.