Coder Social home page Coder Social logo

gary's People

Contributors

mikerixwolfe avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

alumcc

gary's Issues

No code to join on startup?

The bot appears to be working fine (it responds to things in privmsg) but I don't see any code that makes it JOIN the channels list on startup. Am I missing something? :)

HTTP error

Getting this 400 when trying to use the Google function.

Unhandled exception in thread started by <function run at 0x7f5b60641938>
Traceback (most recent call last):
File "core/main.py", line 69, in run
out = func(input.inp, *_kw)
File "plugins/google.py", line 29, in google
parsed = api_get(inp, api_key)
File "plugins/google.py", line 9, in api_get
return http.get_json(url, key=key, q=query, num=num)
File "plugins/util/http.py", line 42, in get_json
return json.loads(get(_args, *_kwargs))
File "plugins/util/http.py", line 30, in get
return open(_args, *_kwargs).read()
File "plugins/util/http.py", line 87, in open
return opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 407, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 445, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.