473 Commits

Author SHA1 Message Date
Alex
fc32524d16 [Audio] Support for YouTube URLs with timestamp (#919) 2017-08-26 18:12:02 +02:00
Mark van Alphen
78173bd68c [Audio] Add error handling on failed song load (#887)
* Add error handling and user feedback to Audio cog

* Remove verbose

* Maybe? fix the OSError

* Replace is with isinstance()

* Attempt to force UTF-8 encoding

* Fix unbound variable

* Escape mass mentions on error output
2017-08-20 14:15:23 -04:00
Twentysix
b19c5e55e5 [Streams] Specify encoding for Twitch's ID endpoint 2017-08-03 21:13:01 +02:00
Eric Hanko
23db0208d0 [Audio] Added [p]cache stats command (#861) 2017-08-01 15:58:56 +02:00
Twentysix
9f290dbdc7 [Mod] No wipe of messages on [p]hackban 2017-06-22 00:45:21 +02:00
flapjax
3b93bb776a [General] Multi character prefix support for polls (#689) 2017-06-09 01:05:22 +02:00
Twentysix
1e17ed7654 [Streams] beam.pro -> mixer 2017-06-03 04:36:19 +02:00
Caleb Johnson
13be333f7a [Streams] Added Picarto streams to [p]streamalert stop (#773) 2017-05-21 12:14:35 +02:00
Twentysix
8887d03543 [Mod] Check for filtered words on message edit
As proposed in #767
2017-05-20 17:17:02 +02:00
Will
ad301d00e4 [Audio] Playlists mix support (#766) 2017-05-20 15:41:59 +02:00
Twentysix
5b885b82c4 [Streams] Added picarto support 2017-05-20 01:30:18 +02:00
Twentysix
fdd2805e8f [Mod] Ignore command's message autodelete errors 2017-05-18 19:23:57 +02:00
Twentysix
36489f0701 [Streams] Limited two [p]streamset commands to DMs 2017-05-14 19:53:06 +02:00
Twentysix
919bb01128 [Mod] Bots are ignored by the filter
Fixes #735
2017-04-29 00:24:15 +02:00
Ryonez
d80a660e95 [Downloader] Fixed issue with patch notes not showing (#726)
Fixes #725
2017-04-22 01:28:21 +02:00
Caleb Johnson
bb4a036573 [Downloader] Respect current branch when updating (#675) 2017-04-19 22:25:12 +02:00
Twentysix
719088d438 [Streams] Twitch API v5 (#718)
Twitch API v5 makes use of IDs instead of usernames.
To migrate the current data, the cog will attempt to fetch and save all the missing stream IDs on loading (in chunks of 100)
2017-04-18 23:27:00 +02:00
Twentysix
6b725560f6 [Audio] Disconnect from all VCs on cog unload 2017-04-18 12:20:14 +02:00
Twentysix
d52c9d57e7 [Streams] Added toggeable autodeletion of stream alerts
[p]streamset autodelete
Enabled by default
2017-04-15 22:52:05 +02:00
Twentysix
f9d0abef92 [Streams] Refactoring (#703) 2017-04-13 22:42:14 +02:00
Twentysix
6d860b8584 [Core, Mod] Moved core functions to owner cog (#701)
Moved blacklist / whitelist functions to owner cog
Moved [p]modset adminrole / modrole to [p]set command group
Check mod/admin users against blacklist / whitelist:
Users with (server or global) admin or mod role used to be able to skip the whitelist / blacklist checks. This doesn't really make sense from a design pov since these are global checks and the commands are owner only.
[p]set adminrole/modrole: check that the role actually exists before adding it
Added [p]blacklist/whitelist list, to show the members of each list
2017-04-13 22:36:15 +02:00
Twentysix
2e5023be5f [Mod] Added [p]hackban 2017-04-13 02:22:16 +02:00
Twentysix
e9e4fd083f [Owner] Added embed to [p]contact 2017-04-12 06:17:33 +02:00
Twentysix
7820319a6a [Owner] Removed [p]join's accept_invite functionality
The endpoint that accept_invite makes use of is no longer safe due to Discord's antispam measures.
2017-04-12 02:32:04 +02:00
Twentysix
1577e7d854 [Trivia] [p]trivia list: Return sorted lists 2017-04-10 17:41:11 +02:00
Twentysix
33823e2dab [CC] [p]customcom list: Removed mod check 2017-04-07 23:38:18 +02:00
Twentysix
55f6307b7f [Image] [p]imgur search: Return up to 3 results 2017-04-07 23:29:02 +02:00
Twentysix
cb4c91d86f [Image] [p]imgur random: Search terms can now be specified 2017-04-07 22:59:29 +02:00
Twentysix
07c07760c9 [CC] [p]cc list: Sends to channel or DM based on message length 2017-04-07 05:37:41 +02:00
Twentysix
7a38da9152 [CC] Moved commands to [p]customcom command group 2017-04-05 22:07:43 +02:00
Twentysix
89daba4711 [Trivia] Strict matching for answers
Fixes #331
2017-04-04 17:20:17 +02:00
Twentysix
2da943bfd0 [Trivia] Further refactoring, checks in [p]trivia stop
Only mods (or superiors) and the trivia starter can stop the session now.
Answers are now shown with the correct capitalization
2017-04-03 22:10:48 +02:00
Twentysix
0e9049d716 [Economy] Show user's current name in leaderboard
Fixes #687
2017-04-02 22:00:22 +02:00
Twentysix
06800a1b5b [Trivia] Server based settings, added reveal answer setting
Further cleaned up the code
Added a toggleable setting for answer reveal on timeout
Removed all the try except statements on send_message, discord.py now handles those on its own
Displays settings in a user friendly way
2017-04-02 18:53:09 +02:00
Twentysix
d757361d6e [Trivia] Initial clean up, made proper commands
Fixes #681
2017-03-31 07:25:13 +02:00
Twentysix
7a0f97424b [Downloader] Fixed callbacks to load/unload 2017-03-24 12:29:16 +01:00
Twentysix
25dfefce4d [Mod] [p]reason: Better error handling for case messages
Fixes #665
2017-03-24 03:03:14 +01:00
Twentysix
bc68ad21c5 [Core] Don't publicly show errors when a command fails. [p]exception
Fixes #668
The exception command sends the last occurred exception to the owner, or even publicly if requested.
The error that used to show up publicly when a command failed has been hidden for security reasons.
All references to "modules" have been changed to "cogs"
2017-03-24 00:45:41 +01:00
Caleb Johnson
39ab99ee44 [Downloader] Disable git interaction, fix tab split (#673) 2017-03-22 14:41:00 +01:00
Twentysix
7c192b3668 [Mod] Added optional role hierarchy check
Toggleable with [p]modset hierarchy
This enables a role hierarchy check before all moderation actions. If the mod doesn't have a role superior to the user's top role the action will be denied.
Server owner and bot owner are exempt from the check.
2017-03-15 22:54:27 +01:00
Twentysix
3d9a157516 [Image] Complete rewrite: no longer blocking 2017-03-15 17:16:46 +01:00
Twentysix
b5398aeacb [General] [p]userinfo: Fixed issue with discrim not showing up 2017-03-14 21:16:48 +01:00
Twentysix
56dadb09bc [Streams] Fixed issue with thumbnails being None
Issue on beam but we'll check it on all services for good measure
2017-03-14 06:23:39 +01:00
Kowlin
acb0fcac29 [Downloader] Added "HIDDEN" field to cog info.json format (#657) 2017-03-14 01:54:17 +01:00
Twentysix
f32b3acd4c [Streams] Avoid Discord's thumbnail caching 2017-03-12 07:10:25 +01:00
Twentysix
7ef878864e [Mod] Added unban event to mod-log
Also implemented an interface to deal with the double event triggering issue in an easier way
2017-03-10 17:40:49 +01:00
Twentysix
361d45e724 [Mod] Fixed some case toggles not working properly
Check is now done at function level
2017-03-10 05:51:37 +01:00
Twentysix
31426ca7c6 [Mod] Prevent users from expelling themselves 2017-03-09 02:16:18 +01:00
Twentysix
a0aa69e083 [Mod] Show name and discrim in mod-log 2017-03-05 17:47:08 +01:00
Twentysix
72bc7182b0 [Audio] Check channel's user limit before joining it 2017-03-03 16:26:32 +01:00