knivey / lolbot Goto Github PK
View Code? Open in Web Editor NEWA PHP IRC bot written to use with my friends
License: MIT License
A PHP IRC bot written to use with my friends
License: MIT License
should use the api to get better info about reddit links and image links too
should be able to have a much better help now with the new Cmdr descriptions support
.seen ident@host
.seen *@*host
if more than one matches perhaps give a simple list of the matches?
would have to come from content-length assuming it exists for the link.
maybe we can try pulling the body data and see if its still possible to examine headers
[GitHub] navidrome/navidrome - ๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic | 68.3% Go 30% JavaScript 0.5% Makefile 0.9% Other | Stargazers: 2646 Watchers: 2646 Forks: 302 Open Issues: 300 Last Push: 11:45:15 AM 2022-03-30 EDT
That repo has 47 watchers.
when he renamed the show the twitch link changed
the aggregator should be a separate service (so we don't have 5 bots all polling the same feeds)
then per channel subscriptions to rss feeds, also allow filtering of what content to see posted
suggestion by knio
show a chain of nick changes if the person changed their nick. if its a long list of changes just ... the middle
per channel subscription list
can use pubsubhubbub or whatever its called now iirc
have some commands that are performed after the 001 welcome inside the config file
add a --hourly flag for forecasting
Current command router is designed more for terminal use and ignores commands with a -f --flag that's not registered messing up calculations to wolfram Ex: -10 * 5 among other things I'm sure. New one should just passthru unknown flags
would have things like tags for better searching of the arts
Now that I better understand how to use amphp I should go through old code and make it more correct (return promises not generators etc)
shouldnt really be on the lolbot side
I've noticed sometimes when sniff adds a quote the timestamps aren't stripped off the beginning
Start with commands that hit APIs but almost all commands should be rate limited ideally per channel and stricter per nick
some commands already are, they say slow down once and then not reply until the limit expired
currently all recorded arts have gone into h4x dir
<~Knio> .portfolio add ticker numshares
<~Knio> .portfolio remove ticker
<~Knio> .portfolio [show] [username]
Certain videos cause the bot to crash because the php ID3 library try's to allocate all the ram in the universe.
Want to just use mediainfo binary instead
use ctags to see if the code snippet contained the main function and if not add it for the user
be able to turn thumbnails on and off per channel.
For now just put in the config file maybe later we can have a .set cmd inside channels
Here is a list from https://redirect.invidious.io
invidious.privacy.gd
vid.puffyan.us
yewtu.be
youtube.076.ne.jp
invidious.kavin.rocks
invidious.namazso.eu
invidious-us.kavin.rocks
tube.cthd.icu
invidious.esmailelbob.xyz
invidious.flokinet.to
inv.riverside.rocks
invidio.xamh.de
invidious.osi.kr
yt.artemislena.eu
invidious.snopyta.org
invidious.weblibre.org
if someone has a large amount it will need to limit output, and sort by ending soonest, maybe give some time range option?
would be nice to see how much longer your timers have also maybe in the future when they aren't just based on nicks ability to cancel them.
in addition to the last message from the nick show if they've /quit or /parted the channel
will get the video thumbnail and display (like yt-thumbs)
but with img cmd you could use --edit
also have it provide a direct link to the yt thumb file too
basically like sopels .tr command
not sure if this is needed but could add a command to resume the last art that was @stopped
kinda like how the youtube thumbnails use them
wtf like surely ts harder to amke thumnabnsilf from youtube than tod make one from a umgur .com link liek wtf what were u thinkin u fuckin fish
started on it in scripts/user and didnt get too far
pretty straight forward, use github webhooks display repo events in channel
think this should be a fallback if reddit doesnt work
arts could have something like {{args}} in them that would be replaced by the arguments of the art command that called
arts that are recorded over we need to keep the old versions saved as past revisions. think we should use git for this it can already handle all the stuff we would want out of it.
this will be especially helpful if a troll attacks the arts current backup of the whole repo are made
<~sniff> .in 9.5h food chats may resume now sniff is done fasting
Error: . is an unknown time identifier, Give me a proper duration of at least 15 seconds with no spaces using yMwdhms (Ex: 1h10m15s)
Right now I just make a new directory for each lolbot instance but it would be much nicer to run them all from one.
Editing the script for more than 1 bot instance can be as simple as looking at multiartbot.php
There are probably more issues to deal with
alternative ping such as bong/bing, ting/tong, etc
using the symfony Finder is much nicer
These all share the same basic layout and anytime I update something in one I'v gotta do the others so try to deduplication them somehow
demanded by chunky
have worldstar video links show stuff like length
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.