jesopo
|
7223e76e24
|
Copypaste fail from moving logic out to turn a date to a string ('value' -> 'dt)
(badges.py)
|
2018-12-22 09:35:11 +00:00 |
|
jesopo
|
13cf49ac5d
|
Add !upsertbadge, to update or add a badge with a date (badges.py)
|
2018-12-22 09:34:38 +00:00 |
|
jesopo
|
6c38f2f637
|
Better clarify !updatebadge's <date> arg in usage (badges.py)
|
2018-12-22 09:33:52 +00:00 |
|
jesopo
|
43361961bb
|
Move out logic to case-insensitively find a badge (badges.py)
|
2018-12-22 09:33:23 +00:00 |
|
jesopo
|
da42963e5c
|
Add help and usage (badges.py)
|
2018-12-22 00:36:43 +00:00 |
|
jesopo
|
d2770c9642
|
Show actual date (not just days since) for !badge (badges.py)
|
2018-12-22 00:10:44 +00:00 |
|
jesopo
|
c2cc4fbd61
|
Show badges as "[badge] on day [count]" (badges.py)
|
2018-12-21 10:01:28 +00:00 |
|
jesopo
|
be7ae375ca
|
Check that a user is updating an existing badge (badges.py)
|
2018-12-20 21:10:41 +00:00 |
|
jesopo
|
ebc835e6d5
|
'found_Badge' -> 'found_badge' (badges.py)
|
2018-12-20 21:05:47 +00:00 |
|
jesopo
|
20819a2478
|
Forgot to define now in !addbadge (badges.py)
|
2018-12-20 21:04:45 +00:00 |
|
jesopo
|
9547c116f1
|
Added !badge (badges.py)
|
2018-12-20 21:03:21 +00:00 |
|
jesopo
|
fa86ba8827
|
Always show badge names with the original capitalisation (badges.py)
|
2018-12-20 21:03:04 +00:00 |
|
jesopo
|
f1e72d4b4e
|
Actually hook in to !removebadge (badges.py)
|
2018-12-20 20:51:03 +00:00 |
|
jesopo
|
a837ac3add
|
Actually give badge name with update success message (badges.py)
|
2018-12-20 20:49:51 +00:00 |
|
jesopo
|
24ea68d150
|
Tell a user when a badge was successfully updated (badges.py)
|
2018-12-20 20:49:24 +00:00 |
|
jesopo
|
e010d21e4c
|
year/month/day should be an int (badges.py)
|
2018-12-20 20:48:28 +00:00 |
|
jesopo
|
a43c5ef1f3
|
actually hook in to command for !resetbadge, format datetime to string before
putting it in a setting in reset_badge (badges.py)
|
2018-12-20 20:46:45 +00:00 |
|
jesopo
|
dbee856c4d
|
Add !updatebadge to manually set a date on a badge (badges.py)
|
2018-12-20 20:46:18 +00:00 |
|
jesopo
|
03a3bdd73d
|
Show "day"/"days" alongside day count
|
2018-12-20 20:30:23 +00:00 |
|
jesopo
|
ba3c1673ad
|
now is already a datetime.date (badges.py)
|
2018-12-20 20:28:26 +00:00 |
|
jesopo
|
2e032bcc09
|
round up the current day when checking days since badge was created (badge.py)
|
2018-12-20 20:26:42 +00:00 |
|
jesopo
|
6d51473a73
|
Compare .date() when checking days between datetimes (badges.py)
|
2018-12-20 16:34:21 +00:00 |
|
jesopo
|
568eff01e0
|
typo in badges.py, 'datettime' -> 'datetime'
|
2018-12-20 16:32:04 +00:00 |
|
jesopo
|
f98797cd23
|
to iterate by key,value we need to .items() on dict (badges.py)
|
2018-12-20 16:31:04 +00:00 |
|
jesopo
|
0f37455665
|
strf datetime before saving it in settings (badges.py)
|
2018-12-20 16:30:15 +00:00 |
|
jesopo
|
751c93d59c
|
'isonow' -> 'utcnow'
|
2018-12-20 16:29:19 +00:00 |
|
jesopo
|
2a84e18b2e
|
first commit of badge system
|
2018-12-20 16:28:14 +00:00 |
|