dasu / syrup-sopel-modules Goto Github PK
View Code? Open in Web Editor NEWsopel modules for syrup. mostly updates of the ones in the phenny repo
License: Other
sopel modules for syrup. mostly updates of the ones in the phenny repo
License: Other
Running .steam gives me
Unexpected error (Expecting value: line 1 column 1 (char 0)) from Strykar at 2020-08-19 08:05:58.502673. Message was: .steam
The website doesn't seem to exist anymore.
The UV index is showing the wrong values because it's going off EST timezone.
streamer_game = streaming["type"]["name"]
is set to NoneType when the streamer has not set a game.
possible fix: streamer_game = streaming["type"]["name"] or "No Game Selected"
The results should be saved to a db or file instead of restating from 0 every time bot is reboot.
@afengg
make HOTS.py accept incomplete names. For some kind-of reference check out https://gist.github.com/dasu/045761882b4a791c480950c253a4eda8
wafflebot module seems to go into an infinite loop somewhere, burns CPU, and eventually crashes the whole system, assuming you have a lot of conversation data to work with (550K~ sentences).
Currently disabled.
Couple of solutions:
Rewrite it with something better.
enable the data expiration like the original module had (1 month?).
just leave it completely disabled forever :(
create a video of the day module
MAYBE have it do backups.
for the weebs.
Starting May 30, 2018, only projects that have accessed URL Shortener APIs before today can create short links.
If you are already calling URL Shortener APIs to manage goo.gl short links, you can continue to use them for a period of one year, until March 30, 2019, when we will discontinue the APIs.
https://developers.googleblog.com/2018/03/transitioning-google-url-shortener.html
Google finally shut down their finance 'api', so I'll need to remake stocks.py
I'll either use yahoo api, or something else.
Most of the modules should be configured so that it reads the API key from the config file.
We can reproduce the issue by checking weather for the city of Goa, it fails with:
TypeError: 'NoneType' object has no attribute '__getitem__' (file "/usr/local/lib/python2.7/dist-packages/sopel/modules/weather.py", line 184, in weather)
I've double checked the IP restrictions and even regenerated a new YT Data API key and updated sopel's conf, but I still get:
[YouTube] Lookup failed: The request is missing a valid API key.
[YouTube Search] The request is missing a valid API key.
To confirm it's not an API issue, https://github.com/sopel-irc/sopel-youtube works fine with the same API.
What am I missing here?
for example, bandcamp
seems to randomly timeout every minute or two, which may or may not cause issues for twitch.
Possible solutions:
race condition or something causes broken sync in same rare cases.
Jun 28 20:37:00 <user1> .sync user2 user3 user4 user1
Jun 28 20:37:00 <syrup> Buckle up syncers!
Jun 28 20:37:03 <user3> .ready
Jun 28 20:37:38 <user4> .ready
Jun 28 20:37:53 <user2> .ready
Jun 28 20:38:00 <syrup> Please .ready up: user1
Jun 28 20:38:30 <user1> .desync
Jun 28 20:38:30 <syrup> Aborting sync...
Jun 28 20:38:42 <user1> .sync user2 user3 user4 user1
Jun 28 20:38:42 <syrup> Buckle up syncers!
Jun 28 20:38:44 <user3> .ready
Jun 28 20:38:45 <user2> .ready
Jun 28 20:38:46 <user1> .ready
Jun 28 20:39:00 <syrup> Shit syncers: user4
Jun 28 20:39:04 <user1> rip
Jun 28 20:39:05 <user3> please
Jun 28 20:39:05 <user1> the bug
Jun 28 20:39:13 <user4> .ready
Jun 28 20:39:13 <syrup> You're not on the list.
Jun 28 20:39:26 <user4> lol
Jun 28 20:39:42 <syrup> Please .ready up:
Jun 28 20:39:47 <user4> L O L
please fix ;_;
Test cases:
.wf yyx
.wf y
The UV function needs to run only if the zip code is from the United States
to protect us from the jews.
one request: twitter media
Probably broken after b6ea82d
Signature: TypeError: 'NoneType' object has no attribute 'getitem' (file "/home/sopel/.sopel/modules-simple/weather2.py", line 187, in get_forecast)
from ... at 2016-06-11 13:07:50.032984. Message was: -wea vostok, aq
Traceback (most recent call last):
File "/home/sopel/sopel/sopel/bot.py", line 441, in call
exit_code = func(sopel, trigger)
File "/home/sopel/.sopel/modules-simple/weather2.py", line 227, in weather
location, forecast, error = get_forecast(bot,trigger,location)
File "/home/sopel/.sopel/modules-simple/weather2.py", line 187, in get_forecast
location = result[0]['admin1']['content'] + ", " + result[0]['country']['content']
TypeError: 'NoneType' object has no attribute 'getitem'
pb.py merely prints the title of the url I'm attempting to send to $nick. I do not get a notification on the PB app. I have the API in there, what am I missing?
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.