drfrankenstein / datbot Goto Github PK
View Code? Open in Web Editor NEWAn IRC bot and library.
An IRC bot and library.
Probably through GitHub actions. We'll need to spike that.
Who: Library users
What: Create observables that emit on specific IRC messages
Why: So that we don't always have to subscribe to messages() | filter([](m) { return m.command == "COMMAND"; })
. Running those filters on every message can become heavy quickly (O(n); n: amount of subscribers).
Points: 5
This is not on a milestone yet, as performance impact hasn't yet been asserted.
session.messagesOfType("PRIVMSG")
.PRIVMSG
is received.Who: Library users
What: Join channels on an active IRC session
Why: To join channels
Points: 2
This might go on Irc::IrcSession
.
Who: Bot users.
When: A command is posted in chat.
What: Parses the command and finds a suitable handler for it.
Why: So that the bot can accept commands from users.
Points: 5
trigger: "!"
.!roll d6
.roll
and call it with argument d6
.A command record should contain:
When parsing the command, arguments would be split on whitespace until the argument count is reached. If more whitespace is found, it becomes part of the last argument. For example, if command addquote
takes 2 arguments, then !addquote somedude My password is hunter2
would be parsed as
command: "addquote"
arguments: ["somedude", "My password is hunter2"]
Depends on: #3
Who: Bot owners.
When: On startup, after logging into the IRC server.
What: Join the channels list in the "channels" key from the config file.
Why: So that the bot can do its job.
Points: 2
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.