cpssd-students / steely Goto Github PK
View Code? Open in Web Editor NEWa python 3.6 facebook/telegram bot
License: GNU General Public License v3.0
a python 3.6 facebook/telegram bot
License: GNU General Public License v3.0
As detailed by @sentriz before, we want to modify the core interface to allow people to define commands with decorators.
This is moving towards the goal of chaining multiple steely commands, eg .slag | .snoop
to get a snoop slag, without intermediate messages.
We should write out a few proposals on how we could do this. Personally I think abstracting fbchat away is the way to go.
Example:
Name: AT&T BUSINESSDIRECT
SN: 78144811
Date: 02/10/2004
Description: N/A
The name should be AT&T BUSINESSDIRECT
We might also need to encode searches. e.g. .tm AT&T
will search for AT&T
.
What are those escaped HTML things called? ( & etc)
As Aaron mentioned in #109, it's getting infeasible.
This craic is a mess. Who wrote this? It's all over the place.
It says to install limp 0.2, which is incompatible with the current limp plugin.
This line should just be limp
.
I'd fix it, but I can't until my other PR is merged.
I hear iandioch/flasknasc is good.
Exception in thread Thread-285:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "plugins/cage.py", line 62, in main
thread_type=thread_type)
TypeError: sendRemoteImage() got an unexpected keyword argument 'message'
🔥
👀
👃
👄
Congrats on reviving steely.
What account is it running on?
Isn't it neat how you can use zero-width characters in the issue names? It makes them unclickable haha.
Required for deepdream plugin.
These commands can be abused by everybody who can send Reed a message. Let's add some permissions instead.
✋ HALT! You can't do that here. ⛔
Due to Heroku closing its free tier, ppaas moved to Vercel. The new URL is: https://partyparrotasaservice.vercel.app/api/partyparrot
Read more about it on the Readme: https://github.com/francoislg/PPaaS
ie. stop words like is
and it
becoming the icelandic and italian flags.
If a definition contains nothing but an image URL, I think the image should be uploaded when the definition is invoked.
is broken
Exception in thread Thread-354:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "plugins/parrot.py", line 53, in main
party(bot, message, image_send, text_send)
File "plugins/parrot.py", line 41, in party
image_send(party_url)
File "plugins/parrot.py", line 49, in <lambda>
thread_type=thread_type)
File "/home/senan/.virtualenvs/steely/lib/python3.6/site-packages/fbchat/client.py", line 1018, in sendRemoteImage
image_id = self._uploadImage(image_url, remote_image, mimetype)
File "/home/senan/.virtualenvs/steely/lib/python3.6/site-packages/fbchat/client.py", line 978, in _uploadImage
}, fix_request=True, as_json=True)
File "/home/senan/.virtualenvs/steely/lib/python3.6/site-packages/fbchat/client.py", line 158, in _postFile
raise e
File "/home/senan/.virtualenvs/steely/lib/python3.6/site-packages/fbchat/client.py", line 154, in _postFile
return check_request(r, as_json=as_json)
File "/home/senan/.virtualenvs/steely/lib/python3.6/site-packages/fbchat/utils.py", line 205, in check_request
check_json(j)
File "/home/senan/.virtualenvs/steely/lib/python3.6/site-packages/fbchat/utils.py", line 184, in check_json
raise FBchatFacebookError('Error #{} when sending request: {}'.format(j['error'], j['errorDescription']), fb_error_code=j['error'], fb_error_message=j['errorDescription'])
fbchat.models.FBchatFacebookError: Error #1545026 when sending request: The type of file you're trying to attach isn't allowed. Please try again with a different format.
I think it might be because the party API URL isn't obviously an image, doesn't end in .png or something.
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "plugins/obscene.py", line 34, in main
gex.gex_give(bot.uid, CARD_NAME, author_id)
File "/home/senan/steely/steely/plugins/gex.py", line 79, in gex_give
gex_util.check_for_card(giving_user, card_id)
File "/home/senan/steely/steely/plugins/_gex_util.py", line 47, in check_for_card
raise RuntimeError('User is not in masters of this card.')
RuntimeError: User is not in masters of this card.
I guess Weeura isn't in the owners.
BOLD bot
BAD
It'd be dope to get a chart of how many lindens I've lost, and when.
They don't get counted right now.
Senan wants this to happen.
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.