Commit Graph

59 Commits

Author SHA1 Message Date
Shauna
59f9caeadc Fix conditional error in message_response
Actor needs to be placed in a list in order to match known_nicks, which is a list of lists.  Without that, the conditional was never matching people who joined the channel to known_nicks, which meant everyone was getting greeted.  Having known_nicks be a list of lists is kind of ugly, and would be nice to change, but for now this is a solid fix (hopefully)
2014-10-18 00:24:25 -04:00
shaunagm
602b2f1176 Merge pull request #37 from aaparella/fast-name-change-fix
Fix for issue #12 : Update upon name change prior to being greeted
2014-09-17 15:39:17 -04:00
shaunagm
370ab17721 Merge pull request #36 from mhwalsh/master
Causes the bot to ignore multiple spaces
2014-09-17 15:20:13 -04:00
Alex Parella
8d1697f735 Update newcomer list when a newcomer changes name before being greeted 2014-09-14 22:08:58 -07:00
BananaObserved
a9b63279a6 Update bot.py
This causes the bot to ignore multiple spaces.
2014-09-13 17:13:10 -05:00
Shauna
e5dc52ae17 Change how bot.py is imported by test suite 2014-09-13 15:18:42 -04:00
Shauna
244ff44b6d Set variables to normal, remove empty test 2014-09-13 15:14:32 -04:00
Shauna
cb2122ed3a Update README 2014-09-13 13:40:08 -04:00
Shauna
15a39497ab Remove old files 2014-09-13 13:26:54 -04:00
Shauna
3b545ee35f Replace old code with new, add tests 2014-09-13 13:24:08 -04:00
Shauna
3f590c227d Merge branch 'master' of github.com:shaunagm/oh-irc-bot 2014-09-13 13:21:06 -04:00
Shauna
4e9b7051fb Clean up new main() function 2014-09-13 13:13:30 -04:00
shaunagm
7acf506b6e Merge pull request #31 from lkuper/patch-1
Update bot.py
2014-08-22 12:45:05 +01:00
Lindsey Kuper
90e1ed35a7 Update bot.py
Typo fix.
2014-08-16 17:06:13 -07:00
Shauna
3ad2374dac Add join_IRC tests 2014-08-05 12:26:11 -04:00
Shauna
6c67609a11 Make sent_message into a list 2014-08-05 12:07:08 -04:00
Shauna
2a8f504262 Move fake_ircsock to test_newbot.py 2014-08-05 11:47:28 -04:00
Shauna
694c868a13 Fix broken ircsock tests 2014-08-05 11:44:15 -04:00
Shauna
7085d526ca Add ircsock as parameter, fix first test 2014-08-05 11:38:35 -04:00
Shauna
eb60ae54ad Add requirements.txt 2014-08-01 13:04:23 -04:00
Shauna
5665c64a3e Update gitignore, remove cached files 2014-08-01 13:04:07 -04:00
Shauna
3b9b498376 Add new testing changes 2014-08-01 13:00:24 -04:00
shaunagm
fd25e43ae6 Merge pull request #24 from jbertino/iss18
Added try and except statements to fix Issue #18
2014-07-29 19:22:37 -04:00
james.bertino
d9f994ae98 Added try and except statements to fix Issue #18 2014-05-23 16:03:34 -04:00
shaunagm
bbde4ae19a Merge pull request #23 from sunu/testing
Fixed a test involving writing nicks to csv file.
2014-05-22 12:38:22 -04:00
Tarashish Mishra
02b7e4e967 Fixed a test involving writing nicks to csv file. 2014-05-22 21:55:43 +05:30
Shauna
ab2fe9c87f refactored bot.py into newbot.py, added some tests 2014-05-16 17:18:45 -04:00
shaunagm
e15634bae9 Merge pull request #19 from noobur/develop2
Fix for Issue #5.
2014-05-06 18:26:56 -04:00
james.bertino
a6b908d07c Merge branch 'master' into develop2 2014-05-06 17:02:27 -04:00
noobur
1fe865de11 Merge pull request #1 from shaunagm/master
Pulling in latest updates for my fork.
2014-05-06 17:01:34 -04:00
james.bertino
acab64b5f7 Merge branch 'master' into develop2 2014-05-06 16:47:07 -04:00
shaunagm
feb6f5c90b fixes minor formatting issue 2014-05-06 14:49:06 -04:00
shaunagm
f4671db191 Merge pull request #15 from noobur/develop
Fix for Issue #14 and PEP8 changes.
2014-05-06 14:37:29 -04:00
james.bertino
4ad322b030 Changed the return value of wait_time_change() to an int and updated the README. 2014-05-05 17:57:46 -04:00
james.bertino
e92de19b21 Minor tweeks to Issue #14 fix. 2014-05-03 19:46:56 -04:00
james.bertino
b145445d7e Fix for Issue #5. 2014-05-03 11:06:19 -04:00
james.bertino
6717db316f Fix for Issue #14 and PEP8 changes. 2014-05-01 17:19:45 -04:00
shaunagm
371ba9d58b separate url from punctuation
The trailing period at the end of the repo url was causing problems for some.  Inserted brackets to make the url link cleanly.
2014-04-23 10:47:32 -04:00
shaunagm
28b7cf2521 Merge pull request #9 from kwurst/master
Fix typo in README.md
2014-03-10 20:26:59 -04:00
shaunagm
9a2983cef8 Merge pull request #7 from r3d3y3/master
switched to regular expressions for parsing hello and help requests
2014-03-10 20:21:24 -04:00
Karl R. Wurst
12c38a5488 Fix typo in README.md 2014-03-10 15:44:28 -04:00
Patrick Pegus II
2b433cc528 switched to regular expressions for parsing hello and help requests 2014-03-09 21:01:05 -04:00
shaunagm
bbe9164766 Update README.md 2014-02-08 12:14:12 -05:00
Shauna
c3f6f90c33 does not greet nicks who leave quickly 2014-01-30 15:20:41 -05:00
shaunagm
32812dd656 Merge pull request #4 from Aaron1011/allow_pm
Allow people to PM the bot
2014-01-30 10:55:35 -08:00
Aaron Hill
7b6f46b14f Allow people to PM the bot 2014-01-27 06:08:27 -05:00
Shauna
34d4a7217e adds license, fixes #3 2014-01-27 00:54:02 -05:00
Shauna
9d0afaa22c updates nicks 2014-01-22 22:17:19 -05:00
Shauna
2d32512c30 added underscore stripping 2014-01-11 19:29:39 -05:00
Shauna
603c054072 checks newList before creating new newcomber obj 2014-01-11 10:30:43 -05:00