Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
il y a 3 ans
Ben Kurtovic
802fa3227d
Make "!remind list" behavior more predictable.
il y a 7 ans
Ben Kurtovic
262490889b
Allow lower-case R for reminder IDs.
il y a 8 ans
Ben Kurtovic
7dfc38bb5c
Reminders that expire while the bot is offline trigger after startup.
il y a 8 ans
Ben Kurtovic
4eaf43d305
Improve argument parsing for !remind.
il y a 8 ans
Ben Kurtovic
be6c272d18
Make expired reminders last for a full day.
il y a 8 ans
Ben Kurtovic
a28eac9426
Substantial rework to reminders; fixes multithreading issues.
il y a 8 ans
Ben Kurtovic
ac678c0f14
Improve !remind time detection (allow e.g. "!remind 7d-2h")
il y a 8 ans
Ben Kurtovic
248e9a84ac
Update !help remind.
il y a 8 ans
Ben Kurtovic
941cc2c00a
Tweak !remind all a bit.
il y a 8 ans
Ben Kurtovic
8f2b232568
Add !remind all.
il y a 8 ans
Ben Kurtovic
44da856120
Show year in end time if not this year.
il y a 8 ans
Ben Kurtovic
02b86de8a9
Add y as a time suffix for !remind.
il y a 8 ans
Ben Kurtovic
d7e57910c0
Make reminders persistent.
il y a 8 ans
Ben Kurtovic
6dc9d18852
Disallow absurdly long reminder lengths.
il y a 9 ans
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
il y a 9 ans
Ben Kurtovic
86f8a6c4f9
Implement !cancel, !unremind, and !forget for reminders.
il y a 9 ans
Ben Kurtovic
9f5fe6c9e0
Allow fractional values like !remind 1.5h
il y a 10 ans
Ben Kurtovic
fe28156ad7
Support s, m, h, d, and w as suffixes for units in !remind.
il y a 10 ans
Ben Kurtovic
f9a49c4378
Don't use assertions here.
il y a 10 ans
Ben Kurtovic
700b57de1c
Allow reminder IDs to be lowercase.
il y a 10 ans
Ben Kurtovic
487b246b32
Thanks Logan_.
il y a 10 ans
Ben Kurtovic
801d8a3c2d
Bugfixes and a !remind help option.
il y a 10 ans
Ben Kurtovic
35407fbd07
Allow !remind to accept operations on time ( #43 ).
il y a 10 ans
Ben Kurtovic
86587c3b66
Hyphen unnecessary ( #43 .
il y a 10 ans
Ben Kurtovic
202ea93854
Add a bunch of functionality to !remind ( #43 ).
il y a 10 ans
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
il y a 10 ans
Ben Kurtovic
ed95c99f0e
Update email address.
il y a 10 ans
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
il y a 11 ans
Justin Yulli Kim
c7675b2bbf
Capitalise replies in everything else in one commit because Earwig
il y a 12 ans
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
il y a 12 ans
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
il y a 12 ans
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.
il y a 12 ans
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
il y a 12 ans
Ben Kurtovic
526151e031
!geolocate command, plus some cleanup to other commands
il y a 12 ans
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
il y a 12 ans
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
il y a 12 ans
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
il y a 12 ans
Ben Kurtovic
2da906109b
Copyright update for 2012.
il y a 12 ans
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
il y a 12 ans
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
il y a 13 ans
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
il y a 13 ans
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
il y a 13 ans
Ben Kurtovic
e5ba64bef8
content -> message, oops
il y a 13 ans
Ben Kurtovic
12c71675d3
adding a !remind command from old EarwigBot, which spawns a new thread that sleeps until its time is up, so impimplementing in !tasks list; {} -> {0}, etc in tasks.py for Python 2.6 support; stripping indentation on blank lines in tasks.py
il y a 13 ans