]>
jfr.im git - erebus.git/log
John Runyon [Thu, 15 Jun 2023 04:10:10 +0000 (22:10 -0600)]
control - also show clevel in WHOIS if user has glevel
John Runyon [Thu, 15 Jun 2023 04:08:42 +0000 (22:08 -0600)]
move INJECT command from control to eval
John Runyon [Thu, 15 Jun 2023 03:47:24 +0000 (21:47 -0600)]
update version link to source
John Runyon [Thu, 15 Jun 2023 02:57:52 +0000 (20:57 -0600)]
allow modules to specify that a message should be sent as NOTICE vs PRIVMSG
John Runyon [Thu, 15 Jun 2023 02:47:10 +0000 (20:47 -0600)]
fix error handling in reddark
John Runyon [Thu, 15 Jun 2023 02:31:01 +0000 (20:31 -0600)]
allow to identify instead of auth
John Runyon [Thu, 15 Jun 2023 02:31:30 +0000 (20:31 -0600)]
Merge branch 'tls-support'
John Runyon [Thu, 15 Jun 2023 02:30:30 +0000 (20:30 -0600)]
fix tls setup
John Runyon [Thu, 15 Jun 2023 01:52:27 +0000 (19:52 -0600)]
adding tls support, import ssl and wrap
John Runyon [Thu, 15 Jun 2023 01:13:11 +0000 (19:13 -0600)]
reddark - dont display message if its blank
John Runyon [Thu, 15 Jun 2023 01:09:51 +0000 (19:09 -0600)]
reddark - more resilience
John Runyon [Thu, 15 Jun 2023 01:09:33 +0000 (19:09 -0600)]
fix genhelp - py3 doesnt support __cmp__
John Runyon [Wed, 14 Jun 2023 12:17:05 +0000 (06:17 -0600)]
core/bot - add config flag to wait for hidden host (num 396) before joining channels
John Runyon [Wed, 14 Jun 2023 12:16:39 +0000 (06:16 -0600)]
reddark - add topic suffix and move updateinterval to config
John Runyon [Wed, 14 Jun 2023 12:16:02 +0000 (06:16 -0600)]
fix config write... py2 docs tell you to open(..., wb) but py3 requires text-mode
John Runyon [Wed, 14 Jun 2023 11:47:21 +0000 (05:47 -0600)]
implement handleState and getText
John Runyon [Wed, 14 Jun 2023 10:49:05 +0000 (04:49 -0600)]
add reddark streamer, first step
not implemented yet: handleState, getText
John Runyon [Wed, 14 Jun 2023 10:48:54 +0000 (04:48 -0600)]
fix cfg.getboolean with a default of True
John Runyon [Wed, 14 Jun 2023 10:05:03 +0000 (04:05 -0600)]
fix sseclient to work with chunked responses
John Runyon [Wed, 14 Jun 2023 10:04:13 +0000 (04:04 -0600)]
import sseclient-0.0.27 to track modifications
John Runyon [Mon, 8 May 2023 07:05:16 +0000 (02:05 -0500)]
trivia - add tie-breaker for target votes with no winner: lowest target wins
John Runyon [Thu, 5 Jan 2023 19:19:11 +0000 (13:19 -0600)]
add utility function to trivia module
John Runyon [Thu, 5 Jan 2023 19:15:05 +0000 (13:15 -0600)]
update team
John Runyon [Thu, 5 Jan 2023 19:14:48 +0000 (13:14 -0600)]
minor cleanup to make code paths more similar
John Runyon [Wed, 14 Dec 2022 00:16:28 +0000 (18:16 -0600)]
misc fixes
John Runyon [Sun, 13 Feb 2022 20:58:59 +0000 (14:58 -0600)]
new `server` module - !SERVER and !UPTIME commands
!SERVER shows the server the bot is currently connected to, as well as when and to where the connection was established.
!UPTIME shows the time since the connection was established, as well as the time the bot process was started
John Runyon [Sun, 13 Feb 2022 20:58:50 +0000 (14:58 -0600)]
modlib - clarify levels
John Runyon [Sun, 13 Feb 2022 20:58:33 +0000 (14:58 -0600)]
bot core - track time connected to server & which server connected to
John Runyon [Tue, 1 Feb 2022 01:52:57 +0000 (19:52 -0600)]
allow python to write bytecode files
John Runyon [Sun, 30 Jan 2022 08:23:16 +0000 (02:23 -0600)]
trivia - two bugfixes
- make SETNEXTID work even when the question has been asked recently
- try even harder to send long questions
John Runyon [Sun, 30 Jan 2022 08:22:46 +0000 (02:22 -0600)]
bot._msg - fix calculation
John Runyon [Sun, 30 Jan 2022 07:49:36 +0000 (01:49 -0600)]
refactor bot.msg/slowmsg/fastmsg to use a single helper function
John Runyon [Sun, 30 Jan 2022 07:40:27 +0000 (01:40 -0600)]
Fix a bug that could lose messages from the queue.
Specifically, when a message was chosen from the queue, and:
- It was somehow over `recvq` (for example, a certain developer was tinkering with his bot)
- Or it plus the *amount recently sent* was over `recvq`
The message would be silently dropped.
zonidjan [Wed, 15 Dec 2021 23:04:17 +0000 (17:04 -0600)]
trivia - FINDQ searches for partial matches now, too
zonidjan [Fri, 23 Jul 2021 05:53:48 +0000 (00:53 -0500)]
urls - escape .s in open.spotify.com
zonidjan [Fri, 23 Jul 2021 07:13:12 +0000 (02:13 -0500)]
trivia add todo
zonidjan [Fri, 23 Jul 2021 06:15:41 +0000 (01:15 -0500)]
add codeql
zonidjan [Fri, 23 Jul 2021 05:35:34 +0000 (00:35 -0500)]
userinfo - py3 has dict_keys which doesnt support +... ugh
zonidjan [Fri, 23 Jul 2021 05:35:02 +0000 (00:35 -0500)]
trivia - py3 compat
zonidjan [Fri, 23 Jul 2021 05:34:37 +0000 (00:34 -0500)]
help - call showcommands if needed; dont expose IP
zonidjan [Sat, 10 Apr 2021 04:08:40 +0000 (23:08 -0500)]
py3 updates
zonidjan [Mon, 8 Mar 2021 22:34:42 +0000 (16:34 -0600)]
dont initialize the recvbuffer with 8KB of NUL
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