furrycat/catbot.git
9 years agoTypos.
CMDR furrycat [Thu, 27 Oct 2016 09:19:50 +0000 (10:19 +0100)]
Typos.

9 years agoPlugins can handle on_member_join().
CMDR furrycat [Thu, 27 Oct 2016 07:42:11 +0000 (08:42 +0100)]
Plugins can handle on_member_join().

9 years agoFind plugins in plugin/<name>/<name>.py.
CMDR furrycat [Thu, 27 Oct 2016 07:32:26 +0000 (08:32 +0100)]
Find plugins in plugin/<name>/<name>.py.

9 years agoGrammar.
CMDR furrycat [Thu, 27 Oct 2016 07:14:58 +0000 (08:14 +0100)]
Grammar.

9 years agoAdded functions for cat noises.
CMDR furrycat [Wed, 26 Oct 2016 20:30:20 +0000 (21:30 +0100)]
Added functions for cat noises.

Missing maybe_*(), however.

9 years agoChoose a voice channel based on member.
CMDR furrycat [Wed, 26 Oct 2016 20:12:37 +0000 (21:12 +0100)]
Choose a voice channel based on member.

9 years agoTidy exception printing.
CMDR furrycat [Wed, 26 Oct 2016 20:04:17 +0000 (21:04 +0100)]
Tidy exception printing.

9 years agoMoved hashing to bot.digest().
CMDR furrycat [Wed, 26 Oct 2016 20:03:58 +0000 (21:03 +0100)]
Moved hashing to bot.digest().

9 years agoMoved announcements to plugin.
CMDR furrycat [Wed, 26 Oct 2016 19:58:38 +0000 (20:58 +0100)]
Moved announcements to plugin.

9 years agoTidyup.
CMDR furrycat [Wed, 26 Oct 2016 19:40:32 +0000 (20:40 +0100)]
Tidyup.

9 years agoMoved feed_key() to Feeds.
CMDR furrycat [Wed, 26 Oct 2016 16:03:40 +0000 (17:03 +0100)]
Moved feed_key() to Feeds.

9 years agoTry not to miss previously posted feeds.
CMDR furrycat [Wed, 26 Oct 2016 12:54:08 +0000 (13:54 +0100)]
Try not to miss previously posted feeds.

9 years agoAdded RNG plugin.
CMDR furrycat [Wed, 26 Oct 2016 10:50:49 +0000 (11:50 +0100)]
Added RNG plugin.

9 years agoPlugin can describe itself.
CMDR furrycat [Wed, 26 Oct 2016 10:25:31 +0000 (11:25 +0100)]
Plugin can describe itself.

9 years agoFeeds feature parity.
CMDR furrycat [Wed, 26 Oct 2016 10:12:05 +0000 (11:12 +0100)]
Feeds feature parity.

9 years agoHandle logging consistently.
CMDR furrycat [Wed, 26 Oct 2016 09:32:03 +0000 (10:32 +0100)]
Handle logging consistently.

9 years agoTest for plugin on_ready() before trying to run.
CMDR furrycat [Wed, 26 Oct 2016 06:56:32 +0000 (07:56 +0100)]
Test for plugin on_ready() before trying to run.

9 years agoInitial plugin system with feeds as the first plugin.
CMDR furrycat [Tue, 25 Oct 2016 14:44:05 +0000 (15:44 +0100)]
Initial plugin system with feeds as the first plugin.

9 years agoReduce spam of announcements in quiet channels.
CMDR furrycat [Tue, 25 Oct 2016 07:37:17 +0000 (08:37 +0100)]
Reduce spam of announcements in quiet channels.

Don't post an announcement if there has been little channel activity
since the last scheduled posting, even if the schedule has been kept
correctly.

9 years agoMake logs_from() limit configurable, defaulting to library default 100.
CMDR furrycat [Tue, 25 Oct 2016 07:36:40 +0000 (08:36 +0100)]
Make logs_from() limit configurable, defaulting to library default 100.

9 years agoHandle attempt to edit with no parameters.
CMDR furrycat [Sun, 23 Oct 2016 22:44:32 +0000 (23:44 +0100)]
Handle attempt to edit with no parameters.

9 years agoAdded commands to manage news feeds.
CMDR furrycat [Sun, 23 Oct 2016 11:39:39 +0000 (12:39 +0100)]
Added commands to manage news feeds.

9 years agoAbstract table entry creation.
CMDR furrycat [Sun, 23 Oct 2016 11:39:15 +0000 (12:39 +0100)]
Abstract table entry creation.

9 years agoFormatting.
CMDR furrycat [Sun, 23 Oct 2016 11:38:23 +0000 (12:38 +0100)]
Formatting.

9 years agoFeeds can be temporarily disabled.
CMDR furrycat [Sun, 23 Oct 2016 11:38:08 +0000 (12:38 +0100)]
Feeds can be temporarily disabled.

9 years agoHandle posting multiple feeds to the same channel.
CMDR furrycat [Sun, 23 Oct 2016 10:27:58 +0000 (11:27 +0100)]
Handle posting multiple feeds to the same channel.

9 years agoFixed indices for announcements and feeds.
CMDR furrycat [Sun, 23 Oct 2016 10:26:36 +0000 (11:26 +0100)]
Fixed indices for announcements and feeds.

9 years agoDon't overwrite permissions that are already correct.
CMDR furrycat [Sun, 23 Oct 2016 09:54:24 +0000 (10:54 +0100)]
Don't overwrite permissions that are already correct.

9 years agoAdded hacky permissions comparision.
CMDR furrycat [Sun, 23 Oct 2016 09:51:26 +0000 (10:51 +0100)]
Added hacky permissions comparision.

Discord API 0.13.0 will let us compare permissions directly.  For now we
have to check each bit individually.

9 years agoGet RSS feed configuration from the database.
CMDR furrycat [Sat, 22 Oct 2016 09:37:30 +0000 (10:37 +0100)]
Get RSS feed configuration from the database.

9 years agoRemoved obsolete orders variable.
CMDR furrycat [Sat, 22 Oct 2016 09:08:45 +0000 (10:08 +0100)]
Removed obsolete orders variable.

9 years agoAbstract db announcement methods.
CMDR furrycat [Fri, 21 Oct 2016 15:19:06 +0000 (16:19 +0100)]
Abstract db announcement methods.

9 years agoWe were still raising after not posting.
CMDR furrycat [Fri, 21 Oct 2016 15:24:46 +0000 (16:24 +0100)]
We were still raising after not posting.

9 years agoLog exceptions we would have passed.
CMDR furrycat [Fri, 21 Oct 2016 15:07:47 +0000 (16:07 +0100)]
Log exceptions we would have passed.

9 years agoFixed not updating last_spoke when we should have.
CMDR furrycat [Fri, 21 Oct 2016 14:59:29 +0000 (15:59 +0100)]
Fixed not updating last_spoke when we should have.

9 years agoDebug queries properly.
CMDR furrycat [Fri, 21 Oct 2016 07:21:26 +0000 (08:21 +0100)]
Debug queries properly.

9 years agoFixed announcement "at" time.
CMDR furrycat [Thu, 20 Oct 2016 19:55:17 +0000 (20:55 +0100)]
Fixed announcement "at" time.

9 years agoFormat every in announce show.
CMDR furrycat [Wed, 19 Oct 2016 21:53:02 +0000 (22:53 +0100)]
Format every in announce show.

9 years agoHandle common error putting commas in distance.
CMDR furrycat [Mon, 17 Oct 2016 07:22:20 +0000 (08:22 +0100)]
Handle common error putting commas in distance.

9 years agoBlingify Buckyball Racing Club avatars.
CMDR furrycat [Sun, 16 Oct 2016 10:06:39 +0000 (11:06 +0100)]
Blingify Buckyball Racing Club avatars.

9 years agoUse case-insensitive match rather than lowercase commands. Breaks bling and others.
CMDR furrycat [Sun, 16 Oct 2016 09:26:54 +0000 (10:26 +0100)]
Use case-insensitive match rather than lowercase commands.  Breaks bling and others.

9 years agoAllow editing announcements.
CMDR furrycat [Wed, 12 Oct 2016 21:24:16 +0000 (22:24 +0100)]
Allow editing announcements.

9 years agoStart date must be equal to or before end date.
CMDR furrycat [Wed, 12 Oct 2016 20:46:43 +0000 (21:46 +0100)]
Start date must be equal to or before end date.

9 years agoRegression parsing message text.
CMDR furrycat [Wed, 12 Oct 2016 20:41:57 +0000 (21:41 +0100)]
Regression parsing message text.

9 years agoHighlight announcement ID.
CMDR furrycat [Wed, 12 Oct 2016 20:34:49 +0000 (21:34 +0100)]
Highlight announcement ID.

9 years agoParse channel by name.
CMDR furrycat [Wed, 12 Oct 2016 20:27:11 +0000 (21:27 +0100)]
Parse channel by name.

9 years agoAnyone can id.
CMDR furrycat [Wed, 12 Oct 2016 20:21:26 +0000 (21:21 +0100)]
Anyone can id.

9 years agoSilly parsing errors.
CMDR furrycat [Wed, 12 Oct 2016 20:15:00 +0000 (21:15 +0100)]
Silly parsing errors.

9 years agoGeneral help.
CMDR furrycat [Wed, 12 Oct 2016 19:53:19 +0000 (20:53 +0100)]
General help.

9 years agoIgnore case.
CMDR furrycat [Wed, 12 Oct 2016 19:24:40 +0000 (20:24 +0100)]
Ignore case.

9 years agoSummarise voice-only announcements.
CMDR furrycat [Wed, 12 Oct 2016 18:15:35 +0000 (19:15 +0100)]
Summarise voice-only announcements.

9 years agoFixed TypeError showing announcement.
CMDR furrycat [Wed, 12 Oct 2016 18:06:39 +0000 (19:06 +0100)]
Fixed TypeError showing announcement.

9 years agoPurge old announcements.
CMDR furrycat [Wed, 12 Oct 2016 18:04:06 +0000 (19:04 +0100)]
Purge old announcements.

9 years agoList announcement details.
CMDR furrycat [Wed, 12 Oct 2016 18:03:56 +0000 (19:03 +0100)]
List announcement details.

9 years agoLog new announcement ID.
CMDR furrycat [Mon, 10 Oct 2016 10:22:03 +0000 (11:22 +0100)]
Log new announcement ID.

9 years agoHandle URLs in announce create.
CMDR furrycat [Mon, 10 Oct 2016 10:21:51 +0000 (11:21 +0100)]
Handle URLs in announce create.

9 years agoHandle newlines in announce create.
CMDR furrycat [Mon, 10 Oct 2016 10:18:27 +0000 (11:18 +0100)]
Handle newlines in announce create.

9 years agoTidy setting announcement states.
CMDR furrycat [Fri, 7 Oct 2016 15:35:42 +0000 (16:35 +0100)]
Tidy setting announcement states.

9 years agoWake up to play voice-only announcements.
CMDR furrycat [Fri, 7 Oct 2016 15:00:44 +0000 (16:00 +0100)]
Wake up to play voice-only announcements.

9 years agoMore scheduling fixes.
CMDR furrycat [Fri, 7 Oct 2016 14:50:55 +0000 (15:50 +0100)]
More scheduling fixes.

9 years agoReally ASAP.
CMDR furrycat [Fri, 7 Oct 2016 14:35:26 +0000 (15:35 +0100)]
Really ASAP.

9 years agoFormatting.
CMDR furrycat [Fri, 7 Oct 2016 14:31:35 +0000 (15:31 +0100)]
Formatting.

9 years agoDedup and improve identification.
CMDR furrycat [Fri, 7 Oct 2016 14:26:13 +0000 (15:26 +0100)]
Dedup and improve identification.

9 years agoWhole bunch of (probably pointless) debug messages.
CMDR furrycat [Fri, 7 Oct 2016 14:18:19 +0000 (15:18 +0100)]
Whole bunch of (probably pointless) debug messages.

9 years agoFix permissions for managing announcements.
CMDR furrycat [Fri, 7 Oct 2016 14:08:16 +0000 (15:08 +0100)]
Fix permissions for managing announcements.

9 years agoPip requirements.
CMDR furrycat [Fri, 7 Oct 2016 13:58:06 +0000 (14:58 +0100)]
Pip requirements.

9 years agoShow help for announcements.
CMDR furrycat [Fri, 7 Oct 2016 11:06:50 +0000 (12:06 +0100)]
Show help for announcements.

9 years agoDon't list other users' private announcements.
CMDR furrycat [Fri, 7 Oct 2016 10:34:34 +0000 (11:34 +0100)]
Don't list other users' private announcements.

9 years agoPrivate announcement logic.
CMDR furrycat [Fri, 7 Oct 2016 10:26:35 +0000 (11:26 +0100)]
Private announcement logic.

9 years agoHandle case in commands.
CMDR furrycat [Fri, 7 Oct 2016 10:26:05 +0000 (11:26 +0100)]
Handle case in commands.

9 years agoASAP overrides schedule.
CMDR furrycat [Fri, 7 Oct 2016 10:25:08 +0000 (11:25 +0100)]
ASAP overrides schedule.

9 years agoParsing fixes when creating announcements.
CMDR furrycat [Fri, 7 Oct 2016 09:39:55 +0000 (10:39 +0100)]
Parsing fixes when creating announcements.

9 years agoTry to keep to announcement schedule even if we miss an iteration.
CMDR furrycat [Fri, 7 Oct 2016 09:12:04 +0000 (10:12 +0100)]
Try to keep to announcement schedule even if we miss an iteration.

9 years agoRecognise days, hours and minutes in interval.
CMDR furrycat [Fri, 7 Oct 2016 09:11:25 +0000 (10:11 +0100)]
Recognise days, hours and minutes in interval.

9 years agoAlias to create announcement at time.
CMDR furrycat [Fri, 7 Oct 2016 09:10:49 +0000 (10:10 +0100)]
Alias to create announcement at time.

9 years agoRemoved old give_order() method.
CMDR furrycat [Fri, 7 Oct 2016 09:10:13 +0000 (10:10 +0100)]
Removed old give_order() method.

9 years agoFix parsing date when creating announcement.
CMDR furrycat [Fri, 7 Oct 2016 09:09:48 +0000 (10:09 +0100)]
Fix parsing date when creating announcement.

9 years agoImply private channel if telling me.
CMDR furrycat [Fri, 7 Oct 2016 09:08:35 +0000 (10:08 +0100)]
Imply private channel if telling me.

9 years agoEnsure we log announcement ID.
CMDR furrycat [Fri, 7 Oct 2016 09:08:10 +0000 (10:08 +0100)]
Ensure we log announcement ID.

9 years agoTime command.
CMDR furrycat [Fri, 7 Oct 2016 09:07:16 +0000 (10:07 +0100)]
Time command.

9 years agoEnsure we process all pending announcements.
CMDR furrycat [Fri, 7 Oct 2016 06:31:10 +0000 (07:31 +0100)]
Ensure we process all pending announcements.

9 years agoLog that we finished playing a sound.
CMDR furrycat [Thu, 6 Oct 2016 16:20:57 +0000 (17:20 +0100)]
Log that we finished playing a sound.

9 years agoWake for announcements every minute regardless of each announcement interval.
CMDR furrycat [Thu, 6 Oct 2016 16:20:06 +0000 (17:20 +0100)]
Wake for announcements every minute regardless of each announcement interval.

9 years agoAllow create voice only announcement without specifying fake channel.
CMDR furrycat [Thu, 6 Oct 2016 15:58:21 +0000 (16:58 +0100)]
Allow create voice only announcement without specifying fake channel.

9 years agoRole and announcement fixes.
CMDR furrycat [Thu, 6 Oct 2016 15:55:59 +0000 (16:55 +0100)]
Role and announcement fixes.

9 years agoUsers can create announcements.
CMDR furrycat [Thu, 6 Oct 2016 11:44:49 +0000 (12:44 +0100)]
Users can create announcements.

9 years agoTimestamp logs.
CMDR furrycat [Thu, 6 Oct 2016 10:56:07 +0000 (11:56 +0100)]
Timestamp logs.

9 years agoDon't spin up further scheduling threads on reconnect.
CMDR furrycat [Thu, 6 Oct 2016 10:46:35 +0000 (11:46 +0100)]
Don't spin up further scheduling threads on reconnect.

9 years agoHighest role on server can manage any announcement.
CMDR furrycat [Wed, 5 Oct 2016 20:48:22 +0000 (21:48 +0100)]
Highest role on server can manage any announcement.

9 years agoAnnouncements can be paused, resumed or scheduled ASAP.
CMDR furrycat [Wed, 5 Oct 2016 20:37:12 +0000 (21:37 +0100)]
Announcements can be paused, resumed or scheduled ASAP.

9 years agoSupport voice only announcements.
CMDR furrycat [Wed, 5 Oct 2016 11:22:13 +0000 (12:22 +0100)]
Support voice only announcements.

9 years agoEnforce U in UUID.
CMDR furrycat [Wed, 5 Oct 2016 11:09:20 +0000 (12:09 +0100)]
Enforce U in UUID.

9 years agoFix open/close DB.
CMDR furrycat [Wed, 5 Oct 2016 10:53:13 +0000 (11:53 +0100)]
Fix open/close DB.

9 years agoTypo.
CMDR furrycat [Wed, 5 Oct 2016 10:51:57 +0000 (11:51 +0100)]
Typo.

9 years agoFormat shown announcement in bold.
CMDR furrycat [Wed, 5 Oct 2016 10:51:09 +0000 (11:51 +0100)]
Format shown announcement in bold.

9 years agoReopen DB for each operation.
CMDR furrycat [Wed, 5 Oct 2016 10:49:45 +0000 (11:49 +0100)]
Reopen DB for each operation.

9 years agoWe can't /me.
CMDR furrycat [Tue, 4 Oct 2016 13:32:01 +0000 (14:32 +0100)]
We can't /me.

9 years agoSet db log level.
CMDR furrycat [Tue, 4 Oct 2016 13:31:48 +0000 (14:31 +0100)]
Set db log level.

9 years agoUsers can delete announcements.
CMDR furrycat [Tue, 4 Oct 2016 13:21:42 +0000 (14:21 +0100)]
Users can delete announcements.

9 years agoList and show announcements.
CMDR furrycat [Tue, 4 Oct 2016 13:01:15 +0000 (14:01 +0100)]
List and show announcements.