furrycat/catbot.git
9 years agoAdded orbital and large flags.
CMDR furrycat [Sun, 6 Nov 2016 18:07:34 +0000 (18:07 +0000)]
Added orbital and large flags.

9 years agoEDDB helper plugin.
CMDR furrycat [Sun, 6 Nov 2016 17:58:00 +0000 (17:58 +0000)]
EDDB helper plugin.

9 years agoPlugin to calculate headings in orbital cruise.
CMDR furrycat [Sat, 5 Nov 2016 11:31:45 +0000 (11:31 +0000)]
Plugin to calculate headings in orbital cruise.

9 years agoGreeting fixes.
CMDR furrycat [Sat, 5 Nov 2016 10:07:53 +0000 (10:07 +0000)]
Greeting fixes.

9 years agoDon't check for previously posted ASAP messages.
CMDR furrycat [Fri, 4 Nov 2016 22:45:51 +0000 (22:45 +0000)]
Don't check for previously posted ASAP messages.

9 years agoASAP announcements might not play.
CMDR furrycat [Fri, 4 Nov 2016 22:35:45 +0000 (22:35 +0000)]
ASAP announcements might not play.

9 years agoWe require python3 so don't test for it.
CMDR furrycat [Fri, 4 Nov 2016 11:06:01 +0000 (11:06 +0000)]
We require python3 so don't test for it.

9 years agoYelp on unrecognised command.
CMDR furrycat [Thu, 3 Nov 2016 15:22:59 +0000 (15:22 +0000)]
Yelp on unrecognised command.

9 years agoAllow disabling the modification of channel permissions where a feed is made.
CMDR furrycat [Thu, 3 Nov 2016 12:55:02 +0000 (12:55 +0000)]
Allow disabling the modification of channel permissions where a feed is made.

9 years agoFind voice_channel_for_user().
CMDR furrycat [Thu, 3 Nov 2016 12:45:28 +0000 (12:45 +0000)]
Find voice_channel_for_user().

9 years agoFixed some silly dict key errors.
CMDR furrycat [Thu, 3 Nov 2016 12:37:32 +0000 (12:37 +0000)]
Fixed some silly dict key errors.

9 years agoUse parse_channel() in plugins.
CMDR furrycat [Thu, 3 Nov 2016 12:37:15 +0000 (12:37 +0000)]
Use parse_channel() in plugins.

9 years agoAdded parse_channel().
CMDR furrycat [Thu, 3 Nov 2016 12:36:35 +0000 (12:36 +0000)]
Added parse_channel().

9 years agoSmall bugfixes.
CMDR furrycat [Thu, 3 Nov 2016 11:22:52 +0000 (11:22 +0000)]
Small bugfixes.

9 years agoTypo.
CMDR furrycat [Wed, 2 Nov 2016 19:59:34 +0000 (19:59 +0000)]
Typo.

9 years agoLog something more useful when an announcement with no text is made.
CMDR furrycat [Wed, 2 Nov 2016 19:46:09 +0000 (19:46 +0000)]
Log something more useful when an announcement with no text is made.

9 years agoMore copy/paste-friendly announcements list.
CMDR furrycat [Wed, 2 Nov 2016 19:41:57 +0000 (19:41 +0000)]
More copy/paste-friendly announcements list.

9 years agoTry harder not to send too big messages.
CMDR furrycat [Wed, 2 Nov 2016 19:39:45 +0000 (19:39 +0000)]
Try harder not to send too big messages.

9 years agoTypo.
CMDR furrycat [Wed, 2 Nov 2016 19:38:22 +0000 (19:38 +0000)]
Typo.

9 years agoCorrect syntax for attachments in announcement show.
CMDR furrycat [Wed, 2 Nov 2016 15:09:47 +0000 (15:09 +0000)]
Correct syntax for attachments in announcement show.

9 years agoAttach artwork to announcements.
CMDR furrycat [Wed, 2 Nov 2016 15:04:04 +0000 (15:04 +0000)]
Attach artwork to announcements.

9 years agoUse say() with attachment when blinging.
CMDR furrycat [Wed, 2 Nov 2016 14:25:19 +0000 (14:25 +0000)]
Use say() with attachment when blinging.

9 years agoLet say() add an attachment.
CMDR furrycat [Wed, 2 Nov 2016 14:20:28 +0000 (14:20 +0000)]
Let say() add an attachment.

9 years agoTypo.
CMDR furrycat [Mon, 31 Oct 2016 17:51:35 +0000 (17:51 +0000)]
Typo.

9 years agoSyntax.
CMDR furrycat [Mon, 31 Oct 2016 17:46:48 +0000 (17:46 +0000)]
Syntax.

9 years agoMissing math import.
CMDR furrycat [Mon, 31 Oct 2016 17:42:14 +0000 (17:42 +0000)]
Missing math import.

9 years agoMoved pytz to announcements.py.
CMDR furrycat [Sat, 29 Oct 2016 23:01:08 +0000 (00:01 +0100)]
Moved pytz to announcements.py.

9 years agoFixed playing multiprocessing.
CMDR furrycat [Sat, 29 Oct 2016 18:18:18 +0000 (19:18 +0100)]
Fixed playing multiprocessing.

9 years agoDescription for Bling.
CMDR furrycat [Sat, 29 Oct 2016 10:19:50 +0000 (11:19 +0100)]
Description for Bling.

9 years agoInclude plugin commands in help output.
CMDR furrycat [Sat, 29 Oct 2016 09:41:34 +0000 (10:41 +0100)]
Include plugin commands in help output.

9 years agoDon't wake up to say goodbye!
CMDR furrycat [Sat, 29 Oct 2016 09:41:07 +0000 (10:41 +0100)]
Don't wake up to say goodbye!

9 years agoAdded plugins.bind_variable().
CMDR furrycat [Sat, 29 Oct 2016 09:36:32 +0000 (10:36 +0100)]
Added plugins.bind_variable().

9 years agoMoved some admin commands to plugin.
CMDR furrycat [Sat, 29 Oct 2016 09:36:19 +0000 (10:36 +0100)]
Moved some admin commands to plugin.

9 years agoCheck for voice greeting properly.
CMDR furrycat [Sat, 29 Oct 2016 08:27:23 +0000 (09:27 +0100)]
Check for voice greeting properly.

9 years agoMoved bling to plugin.
CMDR furrycat [Fri, 28 Oct 2016 11:32:51 +0000 (12:32 +0100)]
Moved bling to plugin.

9 years agoCommands to manage greetings.
CMDR furrycat [Thu, 27 Oct 2016 20:41:22 +0000 (21:41 +0100)]
Commands to manage greetings.

9 years agoTypos.
CMDR furrycat [Thu, 27 Oct 2016 20:40:23 +0000 (21:40 +0100)]
Typos.

9 years agoMissing urllib import.
CMDR furrycat [Thu, 27 Oct 2016 18:04:18 +0000 (19:04 +0100)]
Missing urllib import.

9 years agoMissing sys import.
CMDR furrycat [Thu, 27 Oct 2016 17:59:30 +0000 (18:59 +0100)]
Missing sys import.

9 years agoFixed open_url().
CMDR furrycat [Thu, 27 Oct 2016 17:57:15 +0000 (18:57 +0100)]
Fixed open_url().

9 years agoTypo.
CMDR furrycat [Thu, 27 Oct 2016 11:10:21 +0000 (12:10 +0100)]
Typo.

9 years agoGreet on the right server.
CMDR furrycat [Thu, 27 Oct 2016 10:41:23 +0000 (11:41 +0100)]
Greet on the right server.

9 years agoFixed say_expect.
CMDR furrycat [Thu, 27 Oct 2016 10:23:37 +0000 (11:23 +0100)]
Fixed say_expect.

9 years agof
CMDR furrycat [Thu, 27 Oct 2016 10:17:44 +0000 (11:17 +0100)]
f

9 years agoMoved greetings to plugin.
CMDR furrycat [Thu, 27 Oct 2016 10:16:58 +0000 (11:16 +0100)]
Moved greetings to plugin.

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.