aikaterna
7e2e37ab3f
[Audio] Play local folders via text command ( #2457 )
...
`[p]local folder` will now accept folder names in the command instead of having to navigate through the reaction menu. Also added an alias of `[p]local start` to help users coming from v2 audio.
2019-02-19 10:16:41 +11:00
aikaterna
83411d0fa4
[Audio] Change pause to a toggle ( #2461 )
2019-02-19 10:10:11 +11:00
aikaterna
d608dd953b
[Audio] Remove aliases ( #2462 )
2019-02-19 10:08:59 +11:00
Caleb Johnson
8e6db0829c
[Audio] Connect to lavalink in the background ( #2460 )
...
Also:
- restart and reconnect if connection settings change
- shutdown and restart if not configured to use external
- show a message in [p]play et al. when the connection hasn't been made
- move the JAR download to manager so audio.py can access it
- only start if no process exists
- bump red-lavalink to 0.2.3
Resolves #2306
2019-02-17 09:22:55 +11:00
Toby Harradine
f2daf0be9a
Revert "[Audio] Connect to lavalink in the background ( #2335 )" ( #2459 )
...
This reverts commit b633a33137d11404e34c6d3eee4bbc3f6061f291.
2019-02-16 11:52:03 +11:00
Caleb Johnson
b633a33137
[Audio] Connect to lavalink in the background ( #2335 )
...
Also:
- restart and reconnect if connection settings change
- shutdown and restart if not configured to use external
- show a message in [p]play et al. when the connection hasn't been made
- move the JAR download to manager so audio.py can access it
- only start if no process exists
Resolves #2306
2019-02-16 11:35:21 +11:00
Michael H
d13bf37845
[Utils] Add filters for spoiler markdown ( #2401 )
...
This also wraps some fields of the modlog with the same sanitization, as well as the `[p]names` command.
2019-02-16 11:34:38 +11:00
Michael H
4b831a634a
[Audio] Remove players which no longer have a guild. ( #2414 )
...
Cleanup players when the bot has one for a guild it leaves.
Bumps Red-Lavalink to v0.2.2
2019-02-16 11:15:33 +11:00
ZeLarpMaster
2e2d669fdf
[Trivia] Fix typo in cars.yaml ( #2456 )
2019-02-16 07:39:49 +11:00
Toby Harradine
7ecdf7a7be
Remove asyncio.Event creation from module level in Audio ( #2454 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-15 14:27:01 +11:00
Twentysix
9b940de854
[Downloader] [p]pipinstall: Handle no args
2019-02-14 23:39:38 +01:00
zephyrkul
82807ffe69
[Downloader] Use shlex for subprocesses ( #2421 )
2019-02-14 23:32:11 +01:00
Caleb Johnson
ac8b1fc108
[Filter] Filter based on words for non-phrases ( #2262 )
...
Filters based strictly on words (ignoring punctuation) if filter entry isn't a phrase.
2019-02-13 14:14:12 +11:00
Toby Harradine
dae75521d3
[Audio] Enable logging on Lavalink V3 ( #2438 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-10 18:36:02 +11:00
Twentysix
99ad01ae0d
[p]userinfo: Handle target w/ 'None' Member.joined_at ( #2426 )
2019-02-07 22:40:40 +01:00
Michael H
01ebf2835b
Improve usability of warnings/unwarn\n resolves #2403 ( #2404 )
2019-02-03 02:37:01 -09:00
Michael H
3ef693a259
prevent traceback ( #2406 )
...
* prevent traceback related to Rapptz/discord.py#1638
* formatting
2019-02-02 11:20:17 +01:00
Toby Harradine
b82756087a
Merge V3/release/3.0.0 into V3/develop
2019-01-28 15:30:30 +11:00
Caleb Johnson
348277bcbd
[Audio] Lavalink 3.0/3.1 compatibility updates ( #2272 )
...
- Update to red-lavalink v0.2.0 (blocked by Cog-Creators/Red-Lavalink#41)
- Force lavalink to use TLSv1.2 on java 11+ (blocked by #2270 )
I would add equalizer support, but there's no way to know the full
Lavalink version and thus whether it's supported ahead of time.
2019-01-28 12:43:21 +11:00
Toby Harradine
e07408161a
Merge branch 'V3/release/3.0.0' into V3/develop
...
# Conflicts:
# redbot/cogs/mod/mod.py
2019-01-11 16:42:42 +11:00
Toby Harradine
8eb8848898
[Mod] Context-based voice checks ( #2351 )
...
- Removed `redbot.cogs.mod.checks` module
- Moved logic for formatting a user-friendly list of permissions to `redbot.core.utils.chat_formatting`
- `[p]voice(un)ban` and `[p](un)mute voice` now check permissions in the user's voice channel
Resolves #2296 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-10 11:35:37 +11:00
Twentysix
937d2fe0f6
[Mod] Enhanced [p]hackban ( #2164 )
2019-01-05 03:29:05 +01:00
Toby Harradine
aa854cf1f9
[CustomCom] Insert space before newline separating CC previews ( #2350 )
...
Resolves #2295 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-29 16:54:32 +01:00
Toby Harradine
3a8da1f82b
[Cleanup] Fix cleanup after
...
Resolves #2343 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-22 09:19:25 +11:00
Toby Harradine
bdcb69ad37
Merge branch 'V3/release/3.0.0' into V3/develop
...
# Conflicts:
# redbot/cogs/audio/audio.py
2018-12-21 13:37:32 +11:00
Toby Harradine
811634a2b0
[Permissions] Help menu respects rules ( #2339 )
...
Resolves #2249 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-12-21 13:30:13 +11:00
Kowlin
a5efdc6492
[Mod] Handle invalid nicknames in [p]rename ( #2311 )
2018-12-16 11:21:36 +11:00
Kowlin
38b15ded87
[Mod] Fixed loud RuntimeError on modlog cases ( #2331 )
2018-12-16 10:26:48 +11:00
Michael H
351749dff6
[Permissions] Find things uniquely for models ( #2258 )
...
This is a safety measure to prevent accidentally passing a model which has the same name as another model, potentially modifying rules for the unwanted one.
2018-12-16 10:09:18 +11:00
aikaterna
3b50ed8192
[V3 Audio] Restrict toggle for commercial sites ( #2245 )
...
* [V3 Audio] Restrict toggle for commercial sites
* Different url parsing
* Allow local tracks
* No self needed
* Change Twitch url
2018-12-13 18:31:24 +01:00
NNTin
c4ab34a049
V3: regex extension on java -version ( #2316 )
...
* regex extension on java -version
* make it a non capturing group
* alphanumeric matching
* Match specification: Style, line length
* Update manager.py
2018-12-13 18:28:00 +01:00
Michael H
985e7b3c6d
swap unsafe yaml.load usage for yaml.safe_load ( #2324 )
...
Related to #2323
Recommend additionally adding a step in CI
ensuring use of `yaml.load` is prevented from existing in the code base.
2018-12-13 18:19:27 +01:00
palmtree5
7546c50226
[Streams] Toggle mentions on for roles being alerted ( #2252 )
...
Resolves #1831 .
2018-11-24 10:46:38 +11:00
aikaterna
6435f6b882
[Audio] Match openJDK 11 on Ubuntu ( #2270 )
...
Using the OpenJDK 11 from java.net on Ubuntu 18 reports "11" as the version, which failed the Java version check on loading audio on a new instance. This change will return "11 0" as the version, passing the check, instead of just "11".
2018-11-24 10:45:37 +11:00
aikaterna
bbccb671b8
[Audio] Disallow seek during active vote ( #2290 )
...
Users were able to use seek to skip songs while voteskip was active. This change prevents users from doing so.
2018-11-24 10:43:23 +11:00
aikaterna
419008f644
[Downloader] Findcog fix with no repo installed ( #2304 )
...
The findcog command errored out if a repo was removed. This change informs the user that the repo is not installed instead of erroring out.
2018-11-24 10:39:54 +11:00
odinair
d17c2430d7
[Streams] Fix alerts with no configured mentions ( #2305 )
2018-11-24 10:14:43 +11:00
Michael H
9d22d5b7b5
[Cleanup] Correct handling of command message ( #2310 )
...
Resolves #2307
2018-11-24 10:04:08 +11:00
Kowlin
2846dce6ea
[Mod] [p]modset: Fix KeyError ( #2279 )
...
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2018-11-14 23:35:56 +01:00
aikaterna
9973b2e3b8
[General] [p]urban: Handle no embeds ( #2285 )
2018-11-14 23:21:11 +01:00
aikaterna
d008a2559a
[General] Clearer error message for [p]rps ( #2284 )
2018-11-14 22:56:08 +01:00
FixedThink
6470bc1cda
[Mod] [p]userinfo: Get avatar format with proper method ( #2291 )
2018-11-14 22:46:01 +01:00
aikaterna
7f3a0b8a88
[Streams] Add help for streamset ( #2287 )
2018-11-06 10:26:55 +11:00
FixedThink
f7e41063bf
[Trivia] Change Swaziland to its new name, eSwatini ( #2275 )
2018-11-06 09:52:25 +11:00
aikaterna
d0fca373ba
[Audio] Local track verify on playlist start ( #2271 )
2018-11-06 09:44:26 +11:00
FixedThink
451c4c9d54
[Trivia] Fix text formatting issue ( #2269 )
...
The "Question number {}" message was being emboldened twice from the left side, making the bot send messages with two redundant asterisks.
2018-11-06 08:58:10 +11:00
zephyrkul
a59002275d
[Economy] Fix TypeError in [p]payouts ( #2263 )
2018-11-06 08:55:29 +11:00
Toby Harradine
99bbde7be9
Reject bad perm kwargs in check decorators ( #2289 )
...
Also fixed a misspelled kwarg in reports.
Also now raising TypeError for an empty `@checks.has_permissions()` decorator.
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2018-11-05 15:07:56 +11:00
Kowlin
92dbd14006
Fixes typos in permissions ( #2288 )
...
causing the checks to be thrown out of the window.
2018-11-05 04:19:54 +01:00
palmtree5
6e9243f6e9
Drop unneeded .format in [p]triviaset override ( #2268 )
2018-10-23 17:40:51 -08:00