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