]> jfr.im git - erebus.git/log
erebus.git
11 months agoreddark - dont display message if its blank
John Runyon [Thu, 15 Jun 2023 01:13:11 +0000 (19:13 -0600)] 
reddark - dont display message if its blank

11 months agoreddark - more resilience
John Runyon [Thu, 15 Jun 2023 01:09:51 +0000 (19:09 -0600)] 
reddark - more resilience

11 months agofix genhelp - py3 doesnt support __cmp__
John Runyon [Thu, 15 Jun 2023 01:09:33 +0000 (19:09 -0600)] 
fix genhelp - py3 doesnt support __cmp__

11 months agocore/bot - add config flag to wait for hidden host (num 396) before joining channels
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

11 months agoreddark - add topic suffix and move updateinterval to config
John Runyon [Wed, 14 Jun 2023 12:16:39 +0000 (06:16 -0600)] 
reddark - add topic suffix and move updateinterval to config

11 months agofix config write... py2 docs tell you to open(..., wb) but py3 requires text-mode
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

11 months agoimplement handleState and getText
John Runyon [Wed, 14 Jun 2023 11:47:21 +0000 (05:47 -0600)] 
implement handleState and getText

11 months agoadd reddark streamer, first step
John Runyon [Wed, 14 Jun 2023 10:49:05 +0000 (04:49 -0600)] 
add reddark streamer, first step

not implemented yet: handleState, getText

11 months agofix cfg.getboolean with a default of True
John Runyon [Wed, 14 Jun 2023 10:48:54 +0000 (04:48 -0600)] 
fix cfg.getboolean with a default of True

11 months agofix sseclient to work with chunked responses
John Runyon [Wed, 14 Jun 2023 10:05:03 +0000 (04:05 -0600)] 
fix sseclient to work with chunked responses

11 months agoimport sseclient-0.0.27 to track modifications
John Runyon [Wed, 14 Jun 2023 10:04:13 +0000 (04:04 -0600)] 
import sseclient-0.0.27 to track modifications

12 months agotrivia - add tie-breaker for target votes with no winner: lowest target wins
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

16 months agoadd utility function to trivia module
John Runyon [Thu, 5 Jan 2023 19:19:11 +0000 (13:19 -0600)] 
add utility function to trivia module

16 months agoupdate team
John Runyon [Thu, 5 Jan 2023 19:15:05 +0000 (13:15 -0600)] 
update team

16 months agominor cleanup to make code paths more similar
John Runyon [Thu, 5 Jan 2023 19:14:48 +0000 (13:14 -0600)] 
minor cleanup to make code paths more similar

17 months agomisc fixes
John Runyon [Wed, 14 Dec 2022 00:16:28 +0000 (18:16 -0600)] 
misc fixes

2 years agonew `server` module - !SERVER and !UPTIME commands
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

2 years agomodlib - clarify levels
John Runyon [Sun, 13 Feb 2022 20:58:50 +0000 (14:58 -0600)] 
modlib - clarify levels

2 years agobot core - track time connected to server & which server connected to
John Runyon [Sun, 13 Feb 2022 20:58:33 +0000 (14:58 -0600)] 
bot core - track time connected to server & which server connected to

2 years agoallow python to write bytecode files
John Runyon [Tue, 1 Feb 2022 01:52:57 +0000 (19:52 -0600)] 
allow python to write bytecode files

2 years agotrivia - two bugfixes
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

2 years agobot._msg - fix calculation
John Runyon [Sun, 30 Jan 2022 08:22:46 +0000 (02:22 -0600)] 
bot._msg - fix calculation

2 years agorefactor bot.msg/slowmsg/fastmsg to use a single helper function
John Runyon [Sun, 30 Jan 2022 07:49:36 +0000 (01:49 -0600)] 
refactor bot.msg/slowmsg/fastmsg to use a single helper function

2 years agoFix a bug that could lose messages from the queue.
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.

2 years agotrivia - FINDQ searches for partial matches now, too
zonidjan [Wed, 15 Dec 2021 23:04:17 +0000 (17:04 -0600)] 
trivia - FINDQ searches for partial matches now, too

2 years agourls - escape .s in open.spotify.com
zonidjan [Fri, 23 Jul 2021 05:53:48 +0000 (00:53 -0500)] 
urls - escape .s in open.spotify.com

2 years agotrivia add todo
zonidjan [Fri, 23 Jul 2021 07:13:12 +0000 (02:13 -0500)] 
trivia add todo

2 years agoadd codeql
zonidjan [Fri, 23 Jul 2021 06:15:41 +0000 (01:15 -0500)] 
add codeql

2 years agouserinfo - py3 has dict_keys which doesnt support +... ugh
zonidjan [Fri, 23 Jul 2021 05:35:34 +0000 (00:35 -0500)] 
userinfo - py3 has dict_keys which doesnt support +... ugh

2 years agotrivia - py3 compat
zonidjan [Fri, 23 Jul 2021 05:35:02 +0000 (00:35 -0500)] 
trivia - py3 compat

2 years agohelp - call showcommands if needed; dont expose IP
zonidjan [Fri, 23 Jul 2021 05:34:37 +0000 (00:34 -0500)] 
help - call showcommands if needed; dont expose IP

3 years agopy3 updates
zonidjan [Sat, 10 Apr 2021 04:08:40 +0000 (23:08 -0500)] 
py3 updates

3 years agodont initialize the recvbuffer with 8KB of NUL
zonidjan [Mon, 8 Mar 2021 22:34:42 +0000 (16:34 -0600)] 
dont initialize the recvbuffer with 8KB of NUL

3 years agouse functools.wraps instead of rolling our own
zonidjan [Mon, 8 Mar 2021 22:34:13 +0000 (16:34 -0600)] 
use functools.wraps instead of rolling our own

3 years agostafflist - add response if there are no staff
zonidjan [Mon, 8 Mar 2021 05:27:44 +0000 (23:27 -0600)] 
stafflist - add response if there are no staff

3 years agofix bug where bot wouldnt notice if it recovered permnick
zonidjan [Mon, 8 Mar 2021 05:23:04 +0000 (23:23 -0600)] 
fix bug where bot wouldnt notice if it recovered permnick

3 years agoadd WeatherStack weather module
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*

3 years agotrivia - update !start wrong-channel message
zonidjan [Mon, 8 Mar 2021 03:37:34 +0000 (21:37 -0600)] 
trivia - update !start wrong-channel message

3 years agobot - update a few spots where it should use permnick
zonidjan [Mon, 8 Mar 2021 03:37:12 +0000 (21:37 -0600)] 
bot - update a few spots where it should use permnick

3 years agoadd log message when connecting a new Bot
zonidjan [Sun, 23 Aug 2020 08:05:56 +0000 (03:05 -0500)] 
add log message when connecting a new Bot

3 years agotrivia - update correct answer format
zonidjan [Sun, 23 Aug 2020 08:05:37 +0000 (03:05 -0500)] 
trivia - update correct answer format

3 years agoupdate bot.config.example
zonidjan [Sun, 23 Aug 2020 08:05:12 +0000 (03:05 -0500)] 
update bot.config.example

3 years agofix config bug
zonidjan [Sun, 23 Aug 2020 08:04:55 +0000 (03:04 -0500)] 
fix config bug

4 years agobot bugfixes
zonidjan [Sat, 4 Apr 2020 02:52:25 +0000 (21:52 -0500)] 
bot bugfixes

4 years agotrivia - show streak breaker, fix streak calc
zonidjan [Sat, 4 Apr 2020 02:52:09 +0000 (21:52 -0500)] 
trivia - show streak breaker, fix streak calc

4 years agotrivia - bugfix - write HOF before updating lastwon/lastwinner
zonidjan [Sat, 4 Apr 2020 02:51:28 +0000 (21:51 -0500)] 
trivia - bugfix - write HOF before updating lastwon/lastwinner

4 years agoadd streaks to trivia
zonidjan [Sun, 29 Mar 2020 02:45:38 +0000 (21:45 -0500)] 
add streaks to trivia

4 years agofix links with no title
zonidjan [Tue, 10 Dec 2019 16:31:23 +0000 (10:31 -0600)] 
fix links with no title

4 years agoadd querycb()
zonidjan [Fri, 18 Oct 2019 20:00:32 +0000 (15:00 -0500)] 
add querycb()

4 years agotrivia - allow truncating !delq response
zonidjan [Fri, 18 Oct 2019 19:59:05 +0000 (14:59 -0500)] 
trivia - allow truncating !delq response

4 years agourls - massive rework
zonidjan [Mon, 16 Sep 2019 02:22:21 +0000 (21:22 -0500)] 
urls - massive rework

4 years agohave multiple DB connections for use in different threads
zonidjan [Mon, 16 Sep 2019 02:21:41 +0000 (21:21 -0500)] 
have multiple DB connections for use in different threads

4 years agochanges to config
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

4 years agofix bot sitting inactive when a write error occurs
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

4 years agofix subtext thinking random lines are for it
zonidjan [Fri, 6 Sep 2019 15:35:19 +0000 (10:35 -0500)] 
fix subtext thinking random lines are for it

like "spongebob squarepants"

4 years agomake url titles be sent back on one line
zonidjan [Thu, 5 Sep 2019 04:22:45 +0000 (23:22 -0500)] 
make url titles be sent back on one line

4 years agoconvert trivia's dep on userinfo to softdep
zonidjan [Thu, 5 Sep 2019 04:07:37 +0000 (23:07 -0500)] 
convert trivia's dep on userinfo to softdep

4 years agofix subtext regex
zonidjan [Mon, 2 Sep 2019 05:25:15 +0000 (00:25 -0500)] 
fix subtext regex

4 years agourls - remove URL before title
zonidjan [Fri, 23 Aug 2019 17:31:26 +0000 (12:31 -0500)] 
urls - remove URL before title

4 years agourls - collapse whitespace in title
zonidjan [Wed, 21 Aug 2019 13:12:44 +0000 (08:12 -0500)] 
urls - collapse whitespace in title

4 years agoadd reference to showcommands to help help
zonidjan [Tue, 20 Aug 2019 21:40:44 +0000 (16:40 -0500)] 
add reference to showcommands to help help

4 years agourls - show http errors
zonidjan [Tue, 20 Aug 2019 21:28:59 +0000 (16:28 -0500)] 
urls - show http errors

4 years agolook for NOTICE pre-registration with source also
zonidjan [Tue, 20 Aug 2019 21:06:38 +0000 (16:06 -0500)] 
look for NOTICE pre-registration with source also

4 years agotrivia - allow truncating showq response
zonidjan [Sun, 30 Jun 2019 07:07:28 +0000 (02:07 -0500)] 
trivia - allow truncating showq response

4 years agoCOPYING -> LICENSE
zonidjan [Sun, 30 Jun 2019 07:07:04 +0000 (02:07 -0500)] 
COPYING -> LICENSE

5 years agoallow to truncate messages
zonidjan [Fri, 31 May 2019 04:09:51 +0000 (23:09 -0500)] 
allow to truncate messages

5 years agotrack and report uptime in !resources
zonidjan [Fri, 24 May 2019 22:22:10 +0000 (17:22 -0500)] 
track and report uptime in !resources

5 years agoremove weather module - RIP wunderground API
zonidjan [Thu, 23 May 2019 15:44:19 +0000 (10:44 -0500)] 
remove weather module - RIP wunderground API

5 years agosubtext - add warning regarding regex DoS
zonidjan [Thu, 23 May 2019 15:43:26 +0000 (10:43 -0500)] 
subtext - add warning regarding regex DoS

5 years agotrivia - add args requirements for findq/findqre, fix help for findq
zonidjan [Thu, 23 May 2019 15:43:02 +0000 (10:43 -0500)] 
trivia - add args requirements for findq/findqre, fix help for findq

5 years agotrivia - alias !trivia to !start
zonidjan [Thu, 23 May 2019 15:42:32 +0000 (10:42 -0500)] 
trivia - alias !trivia to !start

5 years agotrivia - small bugfixes
zonidjan [Thu, 23 May 2019 15:42:06 +0000 (10:42 -0500)] 
trivia - small bugfixes

5 years agotrivia - use fastmsg more places, update messaging
zonidjan [Thu, 23 May 2019 15:41:38 +0000 (10:41 -0500)] 
trivia - use fastmsg more places, update messaging

5 years agoallow to kickall by auth directly
zonidjan [Thu, 23 May 2019 15:33:27 +0000 (10:33 -0500)] 
allow to kickall by auth directly

5 years agoallow to address bot by nick
zonidjan [Thu, 23 May 2019 15:32:41 +0000 (10:32 -0500)] 
allow to address bot by nick

5 years agoadd misc module - one function: reduce, to reduce a decimal or fraction
zonidjan [Sun, 19 Aug 2018 17:21:17 +0000 (12:21 -0500)] 
add misc module - one function: reduce, to reduce a decimal or fraction

5 years agouserinfo - use return-to-reply shortcut
zonidjan [Sat, 18 Aug 2018 23:30:58 +0000 (18:30 -0500)] 
userinfo - use return-to-reply shortcut

5 years agouserinfo - remove _ from keys/has/get/set/delete
zonidjan [Fri, 17 Aug 2018 23:06:17 +0000 (18:06 -0500)] 
userinfo - remove _ from keys/has/get/set/delete

5 years agouserinfo - avoid filling memory with nonexistent users
zonidjan [Fri, 17 Aug 2018 23:01:38 +0000 (18:01 -0500)] 
userinfo - avoid filling memory with nonexistent users

5 years agocontrol - use new bot.reply return shortcut
zonidjan [Sun, 12 Aug 2018 09:35:23 +0000 (04:35 -0500)] 
control - use new bot.reply return shortcut

5 years agoadd `bot.reply` function and hook 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.

5 years agouse tuple for formatting
zonidjan [Mon, 30 Jul 2018 17:25:36 +0000 (12:25 -0500)] 
use tuple for formatting

5 years agoupdate encoding
zonidjan [Mon, 30 Jul 2018 17:24:13 +0000 (12:24 -0500)] 
update encoding

5 years agostafflist - add online nicks
zonidjan [Mon, 30 Jul 2018 05:07:52 +0000 (00:07 -0500)] 
stafflist - add online nicks

5 years agoadd CQ alias for qclear
zonidjan [Mon, 30 Jul 2018 03:35:13 +0000 (22:35 -0500)] 
add CQ alias for qclear

5 years agofurther work and securing on GENHELP
zonidjan [Mon, 30 Jul 2018 03:25:22 +0000 (22:25 -0500)] 
further work and securing on GENHELP

5 years agomsg - rename cmsg to say
zonidjan [Thu, 19 Jul 2018 02:47:10 +0000 (21:47 -0500)] 
msg - rename cmsg to say

5 years agoweather - dont fail when wunderground screws up time
zonidjan [Wed, 18 Jul 2018 00:29:21 +0000 (19:29 -0500)] 
weather - dont fail when wunderground screws up time

5 years agofix crash on message consisting of solely the trigger
zonidjan [Wed, 18 Jul 2018 00:14:31 +0000 (19:14 -0500)] 
fix crash on message consisting of solely the trigger

6 years agotrivia - allow to set topic via services
zonidjan [Mon, 14 May 2018 08:31:54 +0000 (03:31 -0500)] 
trivia - allow to set topic via services

6 years agorename run.sh to run
zonidjan [Thu, 19 Apr 2018 01:27:57 +0000 (20:27 -0500)] 
rename run.sh to run

6 years agoremove config.setup()
zonidjan [Thu, 19 Apr 2018 01:27:37 +0000 (20:27 -0500)] 
remove config.setup()

6 years agoconfig - fix getboolean
zonidjan [Thu, 19 Apr 2018 01:27:16 +0000 (20:27 -0500)] 
config - fix getboolean

6 years agomore py3 compat
zonidjan [Wed, 11 Apr 2018 02:16:29 +0000 (21:16 -0500)] 
more py3 compat

6 years agoMerge branch 'master' of github.com:zonidjan/erebus
zonidjan [Tue, 10 Apr 2018 00:52:55 +0000 (19:52 -0500)] 
Merge branch 'master' of github.com:zonidjan/erebus

6 years agofurther py3 compatibility work
zonidjan [Tue, 10 Apr 2018 00:52:34 +0000 (19:52 -0500)] 
further py3 compatibility work

6 years agoUpdate README.md
John [Sat, 7 Apr 2018 07:20:03 +0000 (02:20 -0500)] 
Update README.md

6 years agoUpdate README.md
John [Sat, 7 Apr 2018 07:17:35 +0000 (02:17 -0500)] 
Update README.md

6 years agorun.sh - allow passing multiple flags to python
zonidjan [Sat, 7 Apr 2018 07:12:31 +0000 (02:12 -0500)] 
run.sh - allow passing multiple flags to python

6 years agoadd compatibility with Python3. add README.
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.