Commit Graph

489 Commits

Author SHA1 Message Date
aikaterna
d6c42a0aac [Chatchart] Cleanup & deny addition 2020-10-15 16:58:27 -07:00
James
f1d1380d9c [Away] per user filtering in servers (#166)
* per member toggleaway

* format and black

* remove black format as requested
2020-10-14 08:36:28 -07:00
jack1142
edb5be3a25 Avoid dispatching when there's no feed updates (#173)
* Avoid dispatching when there's no feed updates

* version bump
2020-10-14 07:06:53 -07:00
jack1142
763539f352 [RSS] Add feed update dispatch (#168)
* Add feed update dispatch

* version

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-10-13 09:00:30 -07:00
aikaterna
ddd8c14d03 [RSS] Try for an image instead of assume 2020-10-13 08:57:48 -07:00
Jyu Viole Grace
89f56d69eb typo fix + sort perms (#171) 2020-10-13 08:38:25 -07:00
Fixator10
7d19d8128f [timezone] [p]time set check for owner (#167)
instead of mod
2020-10-10 17:24:43 -07:00
Flame442
971b4a3df2 Don't try to remove managed roles (#170) 2020-10-10 17:24:20 -07:00
PhenoM4n4n
586020bc6c chatchart blocking (#169) 2020-10-09 16:11:22 -07:00
aikaterna
65bd1386cc [RSS] Account for aiohttp fetch failure 2020-10-06 16:29:58 -07:00
Neuro Assassin
3b38c5293e [Fix] Prevent error if a TOT channel is deleted (#165)
* Add fix for if a TOT channel is deleted

* version

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-10-06 07:56:50 -07:00
TrustyJAID
e7647bda90 [RndStatus] remove loop to get user count (#164)
The loop to get user count is unnecessary since `self.bot.users` already contains a unique list of user objects and is updated internally via listeners.
2020-10-06 07:56:21 -07:00
aikaterna
5097271ab4 [TrickOrTreat] Dial back rewards a little 2020-10-05 11:42:56 -07:00
aikaterna
5c99bc4ee0 [TrickOrTreat] Chocolate is now visible 2020-10-05 09:57:01 -07:00
jack1142
6e8c22d1e5 Add gitignore (#163) 2020-10-05 09:09:07 -07:00
aikaterna
b431b599ae [RSS] Catch feeds that have no content 2020-10-05 08:43:06 -07:00
jack1142
5bfbc3b83b [RSS] Make RSS work with cog disabling API (#160)
* [RSS] Make RSS work with cog disabling API

* Update feed qualifier to work with disabling

Instead of the catch-all dealing with feeds having no time, just let the catch-all handle everything. If the cog has been disabled for a long period of time and there are no matches via the saved feed information, the feed will only post 1 feed post instead of all of them (10, 20, 25 posts depending on the feed usually). If the cog is reinstated and there is only a partial match (say, 18 out of 20 feeds before it finds a qualifying match)... it will still post all 18 posts.

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-10-05 08:42:07 -07:00
aikaterna
f32a146b6e [TrickOrTreat] Channel bucket -> user 2020-10-05 07:55:17 -07:00
aikaterna
7fa2947a85 [TrickOrTreat] Add chocolate 2020-10-05 07:51:10 -07:00
Fixator10
e0e53cf87e [trickortreat] make number in eatcandy optional (#161) 2020-10-04 13:18:57 -07:00
aikaterna
a2245d9542 [TrickOrTreat] Who knew, this cog has a version 2020-10-02 09:53:57 -07:00
aikaterna
85d22213b1 [TrickOrTreat] steal -> stealcandy 2020-10-02 09:47:51 -07:00
aikaterna
3329b2f48c [TrickOrTreat] eat -> eatcandy 2020-10-02 09:26:21 -07:00
aikaterna
3a97066458 [Chatchart] Another guess at negatives
plus check attach file perms while we're here
2020-10-02 08:55:26 -07:00
aikaterna
d6c052dcfd [RSS] Different list unpacking 2020-10-01 15:10:34 -07:00
aikaterna
eb0ff5bdeb [RSS] Update info.json 2020-10-01 12:06:20 -07:00
aikaterna
6fdb24a7c4 [RSS] Provisional list unpacking 2020-10-01 11:41:57 -07:00
aikaterna
ac9405a2b5 [Chatchart] No negative values
How the user got this no one knows, but here you go
2020-10-01 08:34:32 -07:00
aikaterna
8c81e8a42b [RSS] Cleaner twitch content 2020-09-30 08:34:35 -07:00
aikaterna
185af4a19e [RSS] Time tags & special case pinterest feeds 2020-09-29 21:58:17 -07:00
aikaterna
891a124834 [RSS] Add datetime to time tag validation 2020-09-29 20:39:44 -07:00
aikaterna
dc6419deed [RSS] More feed fun, pt 6 2020-09-29 20:03:46 -07:00
aikaterna
98781b9268 [RSS] More feed fun, pt 5 2020-09-29 17:59:32 -07:00
Jyu Viole Grace
2bfd00236a [RSS] added support for targeted channels (#158)
* rss support for targeted channels

* process review

* remove style and revert black

* Check for permissions

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-09-27 13:54:02 -07:00
aikaterna
c4492abbe8 [WarcraftLogs] Remove wclgear until fixed 2020-09-25 16:23:33 -07:00
aikaterna
e30f7b05c5 [RSS] More feed fun pt.3 2020-09-25 12:42:32 -07:00
aikaterna
4e2d3738ce [RSS] More feed fun pt 2 2020-09-24 20:47:59 -04:00
aikaterna
c27d53c636 [RndStatus] Update presences and types on 1 status 2020-09-24 11:33:01 -07:00
PhenoM4n4n
bf264ab18b [rndstatus] add selectable status types (#153)
* status

* oops

* default status should be online and not idle

* lol

* QoL improvements while testing this PR

Presence will now be updated after using commands that change presence status or type. 
More clarity for users on the option they have picked with the rndstatus type and rndstatus status commands.
Black @ 120.

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-09-24 11:01:54 -07:00
bobloy
fe09f1e306 Add get_usertime for outside calls (#156) 2020-09-24 10:25:36 -07:00
aikaterna
04c167c79e [RSS] More feed fun 2020-09-23 10:47:20 -07:00
aikaterna
8b043d81a8 [RSS] Handle no title entries a little better pt.3 2020-09-22 15:45:02 -07:00
aikaterna
d4be924066 [Latex] Encode equation 2020-09-22 14:21:34 -07:00
aikaterna
f3cebef0e2 [RSS] Handle no title entries a little better pt.2 2020-09-22 13:00:33 -07:00
aikaterna
ccfeb4a1b1 [RSS] Handle no title entries a little better
This still has the issue that if a feed continually posts entries without a title, nothing will be posted from the feed, but a no-title post should be a rarity to begin with (only seen very sporadically in Pinterest posts so far)
2020-09-22 13:44:33 -04:00
aikaterna
02fccf2edd [RSS] Better hex code matching 2020-09-22 01:50:08 -04:00
aikaterna
3d59573ca8 [RSS] Update queue size properly 2020-09-21 19:32:28 -07:00
aikaterna
263a4e3c1a [RSS] An overengineered color related addition 2020-09-21 21:47:52 -04:00
jack1142
b1b5b75336 Add aikaternacogs_rss_message dispatch (#154)
* Add recursive mapping proxy type

* Move `force` logic to `get_current_feed()` method

* Add `on_aikaternacogs_rss_message` dispatch

* Welp, looks like MappingProxyType isn't subclassable, that's a bummer

* God, I'm an idiot...

* Fuck the extra protections then, I'm sure all cog devs are responsible

;)

* Update version number
2020-09-21 11:43:18 -07:00
Jyu Viole Grace
e33d3b4ff9 Fix invalid JSON information error (#151) 2020-09-18 14:26:05 -07:00