Commit graph

165 commits

Author SHA1 Message Date
7f4e88520a Fix trailing colon in hearts name; add !bottom5 2016-07-06 01:54:06 -04:00
Gavin Sherry
eae682a895 Doc fix 2016-07-03 15:48:24 -07:00
Joe Smith
7cbbb03a04 Merge pull request #51 from kjschiroo/kjschiroo-patch-1
Fixing important typo in readme
2016-07-01 08:16:24 -07:00
Kevin Schiroo
05f5e73aeb Fixing important typo in readme 2016-06-30 23:19:51 -05:00
324a0b2f70 Reorganize some methods 2016-06-17 10:10:21 -04:00
Jeff Ammons
1a932f9bb7 Merge pull request #46 from jammons/master
Add tests and bugfix for b'' messages appearing in python3.
2016-06-05 13:52:46 -07:00
Jeff Ammons
c81bdfec99 Fix unicode error in py2.7 for example plugin
Strings should now be passed to the plugins as unicode values in py2.7
so we have to make sure that we don't convert those into ascii by using
python str instead of u'' strings.
2016-06-05 13:49:00 -07:00
Jeff Ammons
2b9e9b752c Add tests and bugfix for b'' messages appearing in python3.
I added unicode and non-unicode message testing for the output() method
on RTMBot. I'm concerned about why the encode('ascii', 'ignore') was
there in the first place, but not having it seems to do the right
thing...
2016-05-27 17:59:40 -07:00
98156bddde Don't allow score keeping for empty strings 2016-05-21 10:37:44 -04:00
e906713052 Remove logging from hearts 2016-05-19 12:18:13 -04:00
979fb50ea4 Simpler hearts, with streaks! 2016-05-19 12:14:16 -04:00
93de36ca8b Working on streaks of hearts 2016-05-19 11:59:37 -04:00
9f17dd4308 Add some README stuff about ubot2 2016-05-18 10:01:26 -04:00
3f3a0d6f05 Reverse the hearts top5 2016-05-18 09:55:39 -04:00
1b14528f45 Ignore the hearts data file 2016-05-18 09:53:15 -04:00
22ce024555 Add hearts plugin 2016-05-18 09:43:43 -04:00
46679bdb9d Add the cowsay plugin 2016-05-18 00:15:22 -04:00
9384aad4fb Unignore plugins/ 2016-05-18 00:15:15 -04:00
0c1bf23961 Remove the encode() in core 2016-05-18 00:14:47 -04:00
f2ab674906 Merge remote-tracking branch 'origin/master' 2016-05-17 10:20:34 -04:00
341c7c8724 Add README.md 2016-05-17 10:20:24 -04:00
Jeff Ammons
006e28f925 Merge pull request #43 from jammons/master
Adding initial test for rtmbot and coveralls
2016-05-11 15:23:08 -07:00
Jeff Ammons
282ac04c1c Merge pull request #34 from jyap808/patch-1
Modify git clone URL so anyone can clone the repository
2016-05-11 15:22:44 -07:00
Jeff Ammons
1a4b96584e Adding testing/coverage files to gitignore 2016-05-11 15:10:47 -07:00
Jeff Ammons
ef76bd58d2 Adding initial test for rtmbot and hopefully coveralls 2016-05-11 15:03:15 -07:00
Jeff Ammons
5335fc4c8c Merge pull request #42 from jammons/master
Change filename in tox to updated name
2016-04-29 17:33:17 -07:00
Jeff Ammons
60b7b2ebad Change filename in tox to updated name 2016-04-29 17:31:09 -07:00
Jeff Ammons
1b51fe70ba Merge pull request #40 from eyalev/patch-1
Thanks for fixing this! I forgot to fix the docs when I changed the file name back.
2016-04-29 17:21:05 -07:00
Eyal Levin
45e7293eb4 Fix startup command. 2016-04-26 17:20:05 +03:00
Jeff Ammons
61a6011d08 Merge pull request #38 from jammons/refactor
Renaming this for backwards compatibility.
2016-04-25 11:29:22 -07:00
Jeff Ammons
b9da306c8f Renaming this for backwards compatibility. 2016-04-25 11:27:34 -07:00
Jeff Ammons
735d0d774a Merge pull request #37 from jammons/tzakrajs-master
Merge and fix PR breaking out RtmBot into its own Module
2016-04-24 12:46:43 -07:00
Jeff Ammons
84db35fa6f Improve debug state handling and error messaging
If debug=True:
- Most plugin methods (if not all) should end the script and report the
  error to std.out
If debug=False:
- Plugin methods will log the error, data, and stack trace

Future planning:
- The debug=False case here has better behavior in my opinion, maybe
  there's a better way of handling debug=True
2016-04-24 12:40:37 -07:00
Jeff Ammons
c7582a7098 Conform all self.debug values to False
I really want to remove this dbg() mess.
2016-04-17 18:42:54 -07:00
Jeff Ammons
e1d4816e55 Remove unused global site_config 2016-04-17 18:29:17 -07:00
Jeff Ammons
7d718fe54f Adding start rtmbot to tox.ini for linting
Also updating gitignore to ignore some stuff on my machine.
2016-04-17 18:21:04 -07:00
Jeff Ammons
a0fdba13b4 Update readme file with new ./start_rtmbot.py file name 2016-04-17 17:59:22 -07:00
Jeff Ammons
561c3d521b Change the location of file to lint 2016-04-17 17:50:50 -07:00
Jeff Ammons
f12a90ab0a Fix missing debug context in Job 2016-04-17 17:34:17 -07:00
Jeff Ammons
4c7fa8b9ae Merge branch 'master' of https://github.com/tzakrajs/python-rtmbot into tzakrajs-master
Also fixes some PEP8 issues and a number of small bugs.
2016-04-17 16:41:39 -07:00
Jeff Ammons
134710718b Merge pull request #36 from jammons/master
Make bot code and plugin examples PEP8 compliant
2016-04-15 18:03:51 -07:00
Jeff Ammons
aa710d2d4e Fix Python3 linting 2016-04-15 14:49:38 -07:00
Jeff Ammons
5898a37997 Remove spurious change unrelated to PEP8 2016-04-15 14:32:19 -07:00
Jeff Ammons
25ce082eac Fix PEP8 compliance in example plugins and rtmbot 2016-04-15 14:03:20 -07:00
Jeff Ammons
6052333c64 Removing non-PEP8 changes to clean up PR 2016-04-15 12:42:29 -07:00
Quentin Nerden
aff0446b8f adding deamon to requirements. It is needed in rtmbot.py 2016-04-15 12:42:29 -07:00
Quentin Nerden
05ca843d31 running pycharm code instpector and pycharm reformat code 2016-04-15 12:42:29 -07:00
Jeff Ammons
4441a56011 Merge pull request #35 from slackhq/adding_travis_ci
Adding Travis CI Integration
2016-04-15 12:28:39 -07:00
Jeff Ammons
a772615185 Adding correct directories to linting test 2016-04-15 12:25:29 -07:00
Jeff Ammons
c14aa88726 Adding TravisCI build status image 2016-04-15 12:21:54 -07:00