Commit graph

82 commits

Author SHA1 Message Date
jesopo
b7e14148bb Change duck-spawn change to 10% per message after 20 messages 2019-05-03 16:07:49 +01:00
jesopo
8ac93d57f3 there's no event in bootstrap_channel 2019-05-03 15:44:13 +01:00
jesopo
2fd92ce2fa bootstrap old channels for ducks.py 2019-05-03 15:42:39 +01:00
jesopo
5bfffc25e9 Refector ducks.py 2019-05-03 15:34:54 +01:00
jesopo
8b9062b942 Better constifying of color/font chars 2018-11-13 16:02:26 +00:00
jesopo
819f4e0680 Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load 2018-10-12 18:07:23 +01:00
jesopo
69d58eede2 Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
2018-10-03 13:22:37 +01:00
jesopo
10ef985a8a Switch to using docstring for usage, permission and require_mode 2018-09-30 17:29:09 +01:00
jesopo
6eb8b1ba6d Move all exports to @Utils.export calls 2018-09-27 12:08:07 +01:00
jesopo
51a52e2b0e Switch to using @Utils.hook and docstrings for event hooks 2018-09-26 18:27:17 +01:00
jesopo
ecb9d7cb3f Move most code in root directory to src/ 2018-09-24 15:13:27 +01:00
dngfx
9220f84c27 clear channel.games properly. 2018-09-22 20:08:07 +01:00
dngfx
56afe77b52 Fix duck timing and stupid indenting. 2018-09-22 19:32:54 +01:00
dngfx
1a54c11df8 Fix ducks.py having a superfluous function 2018-09-22 19:28:57 +01:00
dngfx
febb6d66e3 font reset at the beginning of commands to stop wonkiness with highlighting and fix duck decoys. 2018-09-22 19:10:52 +01:00
dngfx
000ee14711 Make tweets say Twitter instead of tweets, and update ducks to add decoys and make minimum/unique a channel setting rather than hard setting. 2018-09-22 16:02:39 +01:00
jesopo
a87196c608 Change Utils.color to take a string to wrap in color 2018-09-21 11:39:09 +01:00
jesopo
ecb8698fb7 Don't send ducks when they're disabled. 2018-09-19 14:28:59 +01:00
jesopo
b86ca6088f Fix some styling in ducks.py 2018-09-19 13:23:18 +01:00
dngfx
2211cb0542 Fix a few niggles 2018-09-09 08:59:36 +01:00
dngfx
c8bbdddc59 FONT_RESET should be FONT_COLOR, also more string wizardry in ducks.py! 2018-09-09 03:39:29 +01:00
dngfx
fb3fa55477 String formatting exists and it is a wonderful thing. 2018-09-09 03:07:21 +01:00
dongfix
11f7ebaa86 Add channel prefix to .usage (So it shows .8ball <question> instead of just 8ball <question>, based on the channel's prefix)
Updated ducks.py, more efficient code and style tweaks.
2018-09-09 01:19:00 +01:00
jesopo
22ee129ca6 Clean up combining new.channel and __init__ channel bootstrapping 2018-09-08 22:51:56 +01:00
dngfx
3bdc43cf71 Bootstrap properly on module reload. 2018-09-08 21:58:32 +01:00
dngfx
558e2eb846 Trim garbage code. 2018-09-08 20:38:45 +01:00
dngfx
f17cce3c3d More duck timing tweaks 2018-09-08 19:58:44 +01:00
dngfx
89bc48cf0c Correct comparison 2018-09-08 19:32:10 +01:00
dngfx
83f2ec673c Typo fix. 2018-09-08 19:23:35 +01:00
dngfx
6d31f5ef3c Full metal duck. 2018-09-08 19:11:12 +01:00
dngfx
119ea1a4f6 Refactor ducks.py to make sense. 2018-09-08 19:10:09 +01:00
dngfx
2efbf7ec7e Remove debug code. 2018-09-08 17:18:06 +01:00
dngfx
7023cd45d9 Remove unused code. 2018-09-08 17:16:13 +01:00
dngfx
f0c966403b Tweak duck timing. 2018-09-08 17:15:11 +01:00
dngfx
54c9616d4c 8ball answer updates and ducks.py fix. 2018-09-08 17:02:03 +01:00
dngfx
763333eea8 PEP8 Compliance. 2018-09-08 16:34:28 +01:00
dngfx
ac1eef729c New and fresh ducks.py! And an 8ball.py adjustment...! 2018-09-08 16:15:43 +01:00
dngfx
95712e5520 Ducks new progress 2018-09-08 11:51:43 +01:00
jesopo
35f07735af
Merge pull request #17 from dngfx/master
Update duck timer
2018-09-05 13:52:07 +01:00
jesopo
f2aeaf7797 Don't use IRCUser.id ever, use IRCUser.get_id() 2018-09-05 12:58:12 +01:00
dngfx
5961ff1725 Update duck timer 2018-09-04 13:01:54 +01:00
jesopo
72e991f4a5 up min/max duck show time in ducks.py 2018-09-02 20:14:24 +01:00
jesopo
8c6ab17e57 give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
2018-09-02 19:54:45 +01:00
dngfx
e305b17896 Fix iterations 2018-09-01 21:17:42 +01:00
dngfx
d6b0d4653c Fix duck stats 2018-09-01 20:55:27 +01:00
dngfx
2db5d476a4 Uncomment duck stats 2018-09-01 20:54:18 +01:00
Dan
617fbe301c
Merge branch 'master' into master 2018-09-01 20:44:56 +01:00
dngfx
9eaa1cc6fc Re-toast ducks.py! 2018-09-01 20:43:46 +01:00
dngfx
93a818ed97 Revert "Toast off ducks.py with .duckstats"
This reverts commit 3044b83
2018-09-01 20:40:26 +01:00
dngfx
3044b833fc Toast off ducks.py with .duckstats 2018-09-01 20:34:10 +01:00