tmolnar0831 / photter Goto Github PK
View Code? Open in Web Editor NEWPhotter is a small IRC BOT
Photter is a small IRC BOT
I've heard that APIXU exists but is not ideal.
Another alternative is wunderground
Some channels are password protected. It would be nice to be able to use the bot in these!
test link:
https://www.amazon.com/dp/B00K5MIVN6/
15:15 < gustaf> testing https://www.amazon.com/dp/B00K5MIVN6/
15:15 < pg-bot> Sorry, I got an error: Unexpected value #x8B at start of UTF-8
sequence.
15:15 < photter> Sorry, I got an error: Unexpected value #x8B at start of UTF-8
sequence.
15:17 < gustaf> .version
15:17 < pg-bot> Version: 2.0.5
15:17 < photter> Version: 2.1.0
In URL echo Imgur (and perhaps others) have leading blanks. Suggest trimming leading and trailing blanks in response
for example, linking a twitter URL in channel will produce the following:
12:02:46 < storkme> https://twitter.com/eucopresident/status/1093112742293266435
12:02:47 <+pg-bot> Donald Tusk on Twitter: "I've been wondering what that special place in hell looks like, for those who promoted #Brexit, without even a sketch of a plan how to carry it out safely."
whereas the expected behaviour is:
12:02:46 < storkme> https://twitter.com/eucopresident/status/1093112742293266435
12:02:47 <+pg-bot> Donald Tusk on Twitter: "I've been wondering what that special place in hell looks like, for those who promoted #Brexit, without even a sketch of a plan how to carry it out safely."
see https://developer.mozilla.org/en-US/docs/Glossary/Entity for further reading on html entities
Trying to query an unknown location gives the following error
==> 13:17 < Coraxyn> Thanks Gustaf
13:17 < gustaf> .weather Isle of Man
13:17 <+pg-bot> Sorry, I got an error: The value of VECTOR is "
Quits: pg-bot
Message in REPL:
==> UNHANDLED-EVENT:3757580221: PRIVMSG: Coraxyn #photogeeks "Thanks Gustaf"
UNHANDLED-EVENT:3757580224: ERR_UNKNOWNCOMMAND: cherryh.freenode.net pg-bot "Unknown command"
UNHANDLED-EVENT:3757580224: ERR_UNKNOWNCOMMAND: cherryh.freenode.net pg-bot "Unknown command"
UNHANDLED-EVENT:3757580224: ERR_UNKNOWNCOMMAND: cherryh.freenode.net pg-bot <title>Runtime "Unknown command"
UNHANDLED-EVENT:3757580224: ERR_UNKNOWNCOMMAND: cherryh.freenode.net pg-bot <meta "Unknown command"
UNHANDLED-EVENT:3757580224: ERROR: "Closing Link: 165.227.165.91 (Excess Flood)"
It would be ideal if the same bot could be in different channels.
Channels can require a password, this should be handled.
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.