Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
3 years ago
Ben Kurtovic
b4b079ffd0
Update copyright year for 2016.
8 years ago
Ben Kurtovic
9a7652cb9b
Bugfix for alternate PRIVMSG/NOTICE format.
8 years ago
Ben Kurtovic
fc0bff62a5
Try not to join channels before NickServ auth has completed.
8 years ago
Ben Kurtovic
d5689cafe3
Implement serialization for IRC Data objects.
8 years ago
Ben Kurtovic
acc233a06c
Make sure command split happens before we parse it.
8 years ago
Ben Kurtovic
9c526e219f
Bugfix.
8 years ago
Ben Kurtovic
45110d8cdc
Fix lowercasing of nicks with nick-replies.
8 years ago
Ben Kurtovic
a8e431e806
Support reply-nick syntax for all commands; support unspaced form.
8 years ago
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
9 years ago
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
10 years ago
Ben Kurtovic
ed95c99f0e
Update email address.
10 years ago
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
11 years ago
Ben Kurtovic
1dce7ea94b
Fixes and cleanup.
11 years ago
Ben Kurtovic
c0de766f76
Be smarter about figuring out when someone is talking to us.
11 years ago
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
11 years ago
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
12 years ago
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
12 years ago
Ben Kurtovic
68f111c7d6
'nickname: command' works if delimited by a period.
12 years ago
Ben Kurtovic
e9a6b5e4ac
Fixing bug with private messages.
12 years ago
Ben Kurtovic
772fcf4836
.lower() on my_nick
12 years ago
Ben Kurtovic
3c9c63d573
Fix parse_kwargs
12 years ago
Ben Kurtovic
fd18f468f4
Resolve missing command issue.
12 years ago
Ben Kurtovic
4aa177dfd0
Fix NameError
12 years ago
Ben Kurtovic
7bdff82971
Fix broken commands, manager, and Data.
12 years ago
Ben Kurtovic
78ac1b8a80
Tons of refactoring, miscellaneous cleanup, and improvements.
* _ResourceManager: allow resources to be named anything as long as they
inherit from the base resource class; gave resources proper names.
* Renamed BaseCommand to Command and BaseTask to Task; applied renames
throughout earwigbot.commands and earwigbot.tasks.
* Data: refactored argument and command parsing to be completely internal.
Added docstrings to attributes. Applied changes to Frontend.
* IRCConnection: improved such that we accurately detect disconnects with
server pings; timeout support. Applied changes to Bot.
* Updated documentation and other minor fixes.
12 years ago
Ben Kurtovic
70c4c9d93d
Docstrings for Data
12 years ago
Ben Kurtovic
0f4dc4c78b
commands.quit: use proper quit message when trigger is the bot's name
12 years ago
Ben Kurtovic
1b88f63d27
Moving two exceptions out of earwigbot.irc
12 years ago
Ben Kurtovic
b3c0869db2
Misc additions, cleanup, and fixes, including:
* Support for starting commands using the bot's name
* Moved _wrap_check and _wrap_process to the CommandManager
* Removed extra sortkey in afc_statistics
12 years ago
Ben Kurtovic
551e1e8a9c
Convert frontend and watcher into classes
12 years ago
Ben Kurtovic
2da906109b
Copyright update for 2012.
12 years ago
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
12 years ago
Ben Kurtovic
0992d3c9d9
adding CTCP command support; cleanup
12 years ago
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
12 years ago
Ben Kurtovic
bffa9b6739
Cleaned up Data class a bit.
12 years ago
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
12 years ago
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
12 years ago
Ben Kurtovic
a06e35ecef
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
13 years ago
Ben Kurtovic
11a484c67b
improvements to .tasks listall and .tasks start; adding parse_kwargs() to Data
13 years ago
Ben Kurtovic
a1b4c72473
store the entire line in data as data.line; better explanation for irc_config.AFC_CHANS
13 years ago
Ben Kurtovic
ddc9d9bf26
lowercase command name
13 years ago
Ben Kurtovic
e743734bac
redoing irc command management: rewriting triggers and creating a BaseCommand class, also some changes to Data and Connection
13 years ago
Ben Kurtovic
f9a1a9e1d1
restructuring core bot components
setting up threading and two IRC sockets
setting up watcher to report recent changes to a given list of channels on the main srver
code cleanup
13 years ago
Ben Kurtovic
b75cb8bfe0
moving arg handling to data; adding a help command; cleaning git command a bit
13 years ago
Ben Kurtovic
4e115464e3
capitalization fix (blame ignorecase = true in .git/config)
13 years ago
Ben Kurtovic
0ae73a4aef
massive cleanup and moving a lot of functions to their own files; creating two new classes to store irc msg data and irc actions
13 years ago