jowj
5fdccada37
Add dedicated post to slack function.
4 years ago
josiah
c003f8d6b1
Update to follow best practices (remove a bunch of unused libs)
5 years ago
josiah
b27189bc88
Follow better python formatting guidelines.
5 years ago
josiah
5094afba60
Update some minor things for better PEP compliance
5 years ago
jowj
57626469dd
Restructure mojo to match slack apiv2 + sane file structure.
5 years ago
josiah
20e42a17dc
Create initial file for mojo-arke integration on v2 api
...
- we have to break out the files into two separate while loops (dumb
new decorator syntax breaks my old grammer)
- this is the first step; its working here just fine, but i'll need to
deploy it as a second docker container
5 years ago
josiah
566304f28d
Update dependencies.
...
- Slack shouldn't be there, the proper library is slackclient
5 years ago
jowj
562926f33c
Fix idiotic error with threading
...
- if you thread, an event is generated that wraps the message event in
a dict
- but only after the event already comes through.
- don't make threads and life gets so much fucking easier.
5 years ago
jowj
e11906fa48
Misc white space fixes, adding pipe files, etc
...
- janitor commit ;;
5 years ago
jowj
3e858462ac
Begin migration to v2 of slack's sdk
...
- I fucking hate this 'decorate everything' shit slack wants
- its deeply confusing.
- i've got most stuff working, with reactions_add working great
- handling commands is bad tho; bot will handle it and respond, then
- crash afterwards. I don't get it.
5 years ago
jowj
5ee52ba01a
Update slackclient version.
5 years ago
jowj
1e948e1859
Revert api upgrade changes; update dockerfile.
5 years ago
jowj
6456fd689f
Reference the new Webclient instead of SlackClient.
5 years ago
jowj
7f88871543
Moving back to slackclient 2.
...
- I'm going to to just have to rewrite the bot to fit with
- the new api. bluh.
5 years ago
jowj
6b578a3946
Try to recover to older slackclient version
...
- slack introduced breaking changes somewhere in here.
- i'm trying to find an old version that will work
- i am not hopeful.
5 years ago
jowj
04f040e885
Update slackclient version to 2.0.0 again.
5 years ago
jowj
e64ef30664
Finally working commit; some dependencies must have been updated.
...
- I didn't change anything and it broke
- guessing some packages used to be included in an image that
- are no longer there.
- explicitly adding another apk call to include dependencies
- fixed the issue.
5 years ago
Jowj
15d3c05fc6
Update dockerfile
5 years ago
Jowj
67e455199b
Update dockerfile
5 years ago
Jowj
ad1aaff247
Update dockerfile
5 years ago
Jowj
d4359c2df9
Update dockerfile
5 years ago
Jowj
bb0a669bfc
Update dockerfile
...
Break out pip/slackclient install lines to different layers to troubleshoot an issue
5 years ago
jowj
f7296568e1
Update pence line to be case-insensitive
6 years ago
jowj
bc8ba27619
Update readme with specific chat functions.
6 years ago
jowj
c482a7115f
Add "pence" 1liner so i can start playing with more text reactions.
6 years ago
jowj
f27398b747
* mojojojo-bot.py: Add new argument for handle_command.
6 years ago
jowj
213a61b930
Update loop structure to allow for real time alert notifications.
6 years ago
jowj
fbf32bf0be
Update mojo to look at proper alerts.log file.
6 years ago
jowj
7135de66d2
Update file monitor to look for shared-vol '/shared/' location.
6 years ago
jowj
12546b8bdd
Update logging syntax to cast bool to string.
6 years ago
jowj
006ab2c880
Add additional logging statements to monitoring function.
6 years ago
jowj
47eaac7220
Update monitoring function to include channel declaration.
6 years ago
jowj
91e11c41da
Move logging line to proper if statement.
6 years ago
jowj
7e6432a138
Update monitoring if statement to include a logging line.
6 years ago
jowj
2df4772c9d
Fix definition of variable.
6 years ago
jowj
68cc61cf01
Update file monitor function.
6 years ago
jowj
497b54276d
Dunno what changed here woops
6 years ago
jowj
b157a74fd5
Add function for handling monitoring errors.
6 years ago
jowj
db3adea966
Fix whitespace issues.
6 years ago
jowj
5d63c4bc6e
Remove env. var reference.
6 years ago
jowj
6e5f8052ea
Break out react api call to separate function.
6 years ago
jowj
6ddfd96f7d
Break reaction string parsing out to a function.
6 years ago
jowj
513e24edd2
Change reaction logic to include function with re check.
6 years ago
jowj
1f8196352a
update .gitignore
6 years ago
jowj
6e049772a3
Update flavortown family of reactions to include custom guyfieri emoji.
6 years ago
jowj
aa9346fdb1
Update build process because I forgot how to do run commands.
6 years ago
jowj
ac1eaf5005
Add docker file
6 years ago
jowj
8edcd0e462
Add new flavortown family of reactions
6 years ago
jowj
2468e6dbc9
adding very important emoji capability
6 years ago
jowj
9bf4316a83
removing bot2.py
6 years ago