]>
jfr.im git - erebus.git/log
zonidjan [Mon, 8 Mar 2021 22:34:13 +0000 (16:34 -0600)]
use functools.wraps instead of rolling our own
zonidjan [Mon, 8 Mar 2021 05:27:44 +0000 (23:27 -0600)]
stafflist - add response if there are no staff
zonidjan [Mon, 8 Mar 2021 05:23:04 +0000 (23:23 -0600)]
fix bug where bot wouldnt notice if it recovered permnick
zonidjan [Mon, 8 Mar 2021 03:38:19 +0000 (21:38 -0600)]
add WeatherStack weather module
needs a bot.config entry like:
[weatherstack_weather]
key = *your api key*
zonidjan [Mon, 8 Mar 2021 03:37:34 +0000 (21:37 -0600)]
trivia - update !start wrong-channel message
zonidjan [Mon, 8 Mar 2021 03:37:12 +0000 (21:37 -0600)]
bot - update a few spots where it should use permnick
zonidjan [Sun, 23 Aug 2020 08:05:56 +0000 (03:05 -0500)]
add log message when connecting a new Bot
zonidjan [Sun, 23 Aug 2020 08:05:37 +0000 (03:05 -0500)]
trivia - update correct answer format
zonidjan [Sun, 23 Aug 2020 08:05:12 +0000 (03:05 -0500)]
update bot.config.example
zonidjan [Sun, 23 Aug 2020 08:04:55 +0000 (03:04 -0500)]
fix config bug
zonidjan [Sat, 4 Apr 2020 02:52:25 +0000 (21:52 -0500)]
bot bugfixes
zonidjan [Sat, 4 Apr 2020 02:52:09 +0000 (21:52 -0500)]
trivia - show streak breaker, fix streak calc
zonidjan [Sat, 4 Apr 2020 02:51:28 +0000 (21:51 -0500)]
trivia - bugfix - write HOF before updating lastwon/lastwinner
zonidjan [Sun, 29 Mar 2020 02:45:38 +0000 (21:45 -0500)]
add streaks to trivia
zonidjan [Tue, 10 Dec 2019 16:31:23 +0000 (10:31 -0600)]
fix links with no title
zonidjan [Fri, 18 Oct 2019 20:00:32 +0000 (15:00 -0500)]
add querycb()
zonidjan [Fri, 18 Oct 2019 19:59:05 +0000 (14:59 -0500)]
trivia - allow truncating !delq response
zonidjan [Mon, 16 Sep 2019 02:22:21 +0000 (21:22 -0500)]
urls - massive rework
zonidjan [Mon, 16 Sep 2019 02:21:41 +0000 (21:21 -0500)]
have multiple DB connections for use in different threads
zonidjan [Mon, 16 Sep 2019 02:20:50 +0000 (21:20 -0500)]
changes to config
- add getint
- add a section when using set, if it doesn't exist
zonidjan [Mon, 16 Sep 2019 02:19:42 +0000 (21:19 -0500)]
fix bot sitting inactive when a write error occurs
push socket write errors to bot._goterror
zonidjan [Fri, 6 Sep 2019 15:35:19 +0000 (10:35 -0500)]
fix subtext thinking random lines are for it
like "spongebob squarepants"
zonidjan [Thu, 5 Sep 2019 04:22:45 +0000 (23:22 -0500)]
make url titles be sent back on one line
zonidjan [Thu, 5 Sep 2019 04:07:37 +0000 (23:07 -0500)]
convert trivia's dep on userinfo to softdep
zonidjan [Mon, 2 Sep 2019 05:25:15 +0000 (00:25 -0500)]
fix subtext regex
zonidjan [Fri, 23 Aug 2019 17:31:26 +0000 (12:31 -0500)]
urls - remove URL before title
zonidjan [Wed, 21 Aug 2019 13:12:44 +0000 (08:12 -0500)]
urls - collapse whitespace in title
zonidjan [Tue, 20 Aug 2019 21:40:44 +0000 (16:40 -0500)]
add reference to showcommands to help help
zonidjan [Tue, 20 Aug 2019 21:28:59 +0000 (16:28 -0500)]
urls - show http errors
zonidjan [Tue, 20 Aug 2019 21:06:38 +0000 (16:06 -0500)]
look for NOTICE pre-registration with source also
zonidjan [Sun, 30 Jun 2019 07:07:28 +0000 (02:07 -0500)]
trivia - allow truncating showq response
zonidjan [Sun, 30 Jun 2019 07:07:04 +0000 (02:07 -0500)]
COPYING -> LICENSE
zonidjan [Fri, 31 May 2019 04:09:51 +0000 (23:09 -0500)]
allow to truncate messages
zonidjan [Fri, 24 May 2019 22:22:10 +0000 (17:22 -0500)]
track and report uptime in !resources
zonidjan [Thu, 23 May 2019 15:44:19 +0000 (10:44 -0500)]
remove weather module - RIP wunderground API
zonidjan [Thu, 23 May 2019 15:43:26 +0000 (10:43 -0500)]
subtext - add warning regarding regex DoS
zonidjan [Thu, 23 May 2019 15:43:02 +0000 (10:43 -0500)]
trivia - add args requirements for findq/findqre, fix help for findq
zonidjan [Thu, 23 May 2019 15:42:32 +0000 (10:42 -0500)]
trivia - alias !trivia to !start
zonidjan [Thu, 23 May 2019 15:42:06 +0000 (10:42 -0500)]
trivia - small bugfixes
zonidjan [Thu, 23 May 2019 15:41:38 +0000 (10:41 -0500)]
trivia - use fastmsg more places, update messaging
zonidjan [Thu, 23 May 2019 15:33:27 +0000 (10:33 -0500)]
allow to kickall by auth directly
zonidjan [Thu, 23 May 2019 15:32:41 +0000 (10:32 -0500)]
allow to address bot by nick
zonidjan [Sun, 19 Aug 2018 17:21:17 +0000 (12:21 -0500)]
add misc module - one function: reduce, to reduce a decimal or fraction
zonidjan [Sat, 18 Aug 2018 23:30:58 +0000 (18:30 -0500)]
userinfo - use return-to-reply shortcut
zonidjan [Fri, 17 Aug 2018 23:06:17 +0000 (18:06 -0500)]
userinfo - remove _ from keys/has/get/set/delete
zonidjan [Fri, 17 Aug 2018 23:01:38 +0000 (18:01 -0500)]
userinfo - avoid filling memory with nonexistent users
zonidjan [Sun, 12 Aug 2018 09:35:23 +0000 (04:35 -0500)]
control - use new bot.reply return shortcut
zonidjan [Sun, 12 Aug 2018 09:31:05 +0000 (04:31 -0500)]
add `bot.reply` function and hook return shortcut
bot.reply(chan, user, reply_msg) will now send a reply.
This is meant to be used directly with the chan and user objects passed to a hook.
This is bot.msg(user, reply_msg) when chan is None (i.e. when used via PM or when wantchan=False);
or bot.msg(chan, "user: reply_msg") when chan is not None (i.e. when used in channel or via PM with wantchan=True and channel provided)
Returning a string (Py2: str or unicode) from a hook will now result in a bot.reply.
zonidjan [Mon, 30 Jul 2018 17:25:36 +0000 (12:25 -0500)]
use tuple for formatting
zonidjan [Mon, 30 Jul 2018 17:24:13 +0000 (12:24 -0500)]
update encoding
zonidjan [Mon, 30 Jul 2018 05:07:52 +0000 (00:07 -0500)]
stafflist - add online nicks
zonidjan [Mon, 30 Jul 2018 03:35:13 +0000 (22:35 -0500)]
add CQ alias for qclear
zonidjan [Mon, 30 Jul 2018 03:25:22 +0000 (22:25 -0500)]
further work and securing on GENHELP
zonidjan [Thu, 19 Jul 2018 02:47:10 +0000 (21:47 -0500)]
msg - rename cmsg to say
zonidjan [Wed, 18 Jul 2018 00:29:21 +0000 (19:29 -0500)]
weather - dont fail when wunderground screws up time
zonidjan [Wed, 18 Jul 2018 00:14:31 +0000 (19:14 -0500)]
fix crash on message consisting of solely the trigger
zonidjan [Mon, 14 May 2018 08:31:54 +0000 (03:31 -0500)]
trivia - allow to set topic via services
zonidjan [Thu, 19 Apr 2018 01:27:57 +0000 (20:27 -0500)]
rename run.sh to run
zonidjan [Thu, 19 Apr 2018 01:27:37 +0000 (20:27 -0500)]
remove config.setup()
zonidjan [Thu, 19 Apr 2018 01:27:16 +0000 (20:27 -0500)]
config - fix getboolean
zonidjan [Wed, 11 Apr 2018 02:16:29 +0000 (21:16 -0500)]
more py3 compat
zonidjan [Tue, 10 Apr 2018 00:52:55 +0000 (19:52 -0500)]
Merge branch 'master' of github.com:zonidjan/erebus
zonidjan [Tue, 10 Apr 2018 00:52:34 +0000 (19:52 -0500)]
further py3 compatibility work
John [Sat, 7 Apr 2018 07:20:03 +0000 (02:20 -0500)]
Update README.md
John [Sat, 7 Apr 2018 07:17:35 +0000 (02:17 -0500)]
Update README.md
zonidjan [Sat, 7 Apr 2018 07:12:31 +0000 (02:12 -0500)]
run.sh - allow passing multiple flags to python
zonidjan [Sat, 7 Apr 2018 04:24:21 +0000 (23:24 -0500)]
add compatibility with Python3. add README.
Python3 is now an additonal target for the bot, and compatibility issues are bugs.
zonidjan [Sat, 10 Mar 2018 01:25:06 +0000 (19:25 -0600)]
control - added !INJECT
zonidjan [Mon, 12 Feb 2018 09:37:52 +0000 (03:37 -0600)]
control - dont message all channels when quitting
zonidjan [Fri, 19 Jan 2018 19:04:04 +0000 (13:04 -0600)]
weather - workaround for python rfc822.parsedate silliness
zonidjan [Wed, 3 Jan 2018 03:37:42 +0000 (21:37 -0600)]
help - fix help_nolag
zonidjan [Fri, 29 Dec 2017 01:04:32 +0000 (19:04 -0600)]
stafflist module created
zonidjan [Fri, 29 Dec 2017 01:04:08 +0000 (19:04 -0600)]
weather - fix bug from typo
zonidjan [Wed, 27 Dec 2017 18:59:25 +0000 (12:59 -0600)]
weather - fixes for wunderground's insane api
zonidjan [Wed, 27 Dec 2017 18:59:01 +0000 (12:59 -0600)]
urls - bugfixes
zonidjan [Fri, 1 Dec 2017 19:34:42 +0000 (13:34 -0600)]
weather - add !WU command to get weather in another users location
zonidjan [Mon, 27 Nov 2017 02:31:46 +0000 (20:31 -0600)]
revert apiversion to 0
zonidjan [Mon, 27 Nov 2017 02:26:30 +0000 (20:26 -0600)]
fix error
zonidjan [Thu, 23 Nov 2017 07:18:12 +0000 (01:18 -0600)]
subtext - minor code corrections
zonidjan [Thu, 23 Nov 2017 07:15:05 +0000 (01:15 -0600)]
module for 's/regex/replacement/'style corrections
<DimeCadmium>
fffffffffff
<DimeCadmium> s/f/b/
<Erebus> <DimeCadmium>
bffffffffff
<DimeCadmium> s/f/b/g
<Erebus> <DimeCadmium>
bbbbbbbbbbb
<DimeCadmium> s/f/b/g;
<Erebus> <DimeCadmium>
bbbbbbbbbbb
<DimeCadmium> s/f/b/;
<Erebus> <DimeCadmium>
bffffffffff
<DimeCadmium> s/a/z/
(note Erebus says nothing because the replacement failed)
<DimeCadmium> abcdef
<DimeCadmium> s/c/z/
<Erebus> <DimeCadmium> abzdef
<DimeCadmium> s/(..).(...)/\1!\2/
<Erebus> <DimeCadmium> ab!def
<DimeCadmium> s!(..).(...)!\1/\2!
<Erebus> <DimeCadmium> ab/def
<DimIRC>
ffffffffff
<DimeCadmium> s/f/b/
<Erebus> DimeCadmium: <DimIRC>
bfffffffff
zonidjan [Fri, 10 Nov 2017 23:46:15 +0000 (17:46 -0600)]
* - change old code to use newer cfg.getboolean instead of bool(int())
zonidjan [Fri, 10 Nov 2017 23:42:07 +0000 (17:42 -0600)]
core - add debug check for printing input/output
zonidjan [Fri, 10 Nov 2017 23:35:40 +0000 (17:35 -0600)]
weather - show location when observation_location is blank; add debug output
zonidjan [Wed, 8 Nov 2017 23:28:37 +0000 (17:28 -0600)]
userinfo - refactor
zonidjan [Wed, 8 Nov 2017 00:39:27 +0000 (18:39 -0600)]
userinfo - add function/command to delete
zonidjan [Wed, 8 Nov 2017 00:27:47 +0000 (18:27 -0600)]
weather - include trigger when user's location is unknown
zonidjan [Tue, 7 Nov 2017 01:44:14 +0000 (19:44 -0600)]
weather - cleanup
zonidjan [Tue, 7 Nov 2017 00:36:09 +0000 (18:36 -0600)]
weather - handle wundergrounds terrible API response formatting
zonidjan [Fri, 27 Oct 2017 05:45:55 +0000 (00:45 -0500)]
check line length before sending message - fixes #17
zonidjan [Fri, 20 Oct 2017 00:05:02 +0000 (19:05 -0500)]
fix SQL auto-retry
zonidjan [Wed, 11 Oct 2017 23:14:46 +0000 (18:14 -0500)]
help bugfix
zonidjan [Wed, 11 Oct 2017 23:11:07 +0000 (18:11 -0500)]
add config option nofakelag
zonidjan [Wed, 11 Oct 2017 18:21:14 +0000 (13:21 -0500)]
bugfixes
zonidjan [Wed, 11 Oct 2017 02:16:29 +0000 (21:16 -0500)]
bugfixes
zonidjan [Wed, 11 Oct 2017 02:09:37 +0000 (21:09 -0500)]
bugfixes
zonidjan [Wed, 11 Oct 2017 01:59:41 +0000 (20:59 -0500)]
mode parsing bugfix
zonidjan [Wed, 11 Oct 2017 01:35:06 +0000 (20:35 -0500)]
weather - add alias !W
zonidjan [Wed, 11 Oct 2017 01:34:27 +0000 (20:34 -0500)]
weather module
zonidjan [Sat, 7 Oct 2017 20:20:25 +0000 (15:20 -0500)]
trivia - bugfixes
zonidjan [Sat, 7 Oct 2017 18:45:53 +0000 (13:45 -0500)]
trivia - modify special questions