Toby Harradine
b1066ad58f
Guard module-level creation of Config objects ( #2449 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-14 15:36:48 +11: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
zephyrkul
820be2a0ae
[Core] Utilize consume rest, Union ( #2407 )
2019-02-13 14:11:22 +11:00
Toby Harradine
9869f95bd6
Update dependencies and copyright year ( #2436 )
...
- aiohttp 3.5
- websockets 7
- Rapptz/discord.py@700dbb5
- A few others
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-13 10:49:11 +11:00
zephyrkul
c87286d3c6
[README] Update support channel ( #2445 )
2019-02-12 21:24:14 +01:00
Twentysix
7028ca9df3
[Docs] Link bot account guide ( #2440 )
2019-02-11 20:17:39 +01:00
Toby Harradine
435fc141ae
Default rules for subcommands precede supercommands ( #2422 )
...
This incorporates default rules into the same resolution techniques used by concrete rules.
Resolves #2313 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-11 14:14:29 +11:00
Twentysix
889fa63aff
Sentry removal ( #2439 )
...
Resolves #2430 .
2019-02-11 11:19:02 +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
Toby Harradine
b9d440f2f7
Utilise setup.cfg, move version info to redbot package ( #2411 )
...
* Utilise setup.cfg, move version info to redbot package
- `redbot.__init__` now is safe to import without installing dependencies.
- Now deploying binary wheel distribution from travis
- Include locale files in sub-packages of cog packages
- python_requires now has no upper limit
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-09 12:08:22 +11:00
Toby Harradine
ec4c325efd
Guard parsing of CLI args in launcher, setup scripts ( #2432 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-08 18:08:10 +11:00
Twentysix
b350ac38dc
Allow [p]info customization ( #2417 )
...
* Allow [p]info customization
* Style
* Naming
2019-02-08 02:38:26 +01:00
PredaaA
e88c82e7e0
Update help_formatter.py ( #2431 )
2019-02-08 02:24:59 +01:00
Twentysix
99ad01ae0d
[p]userinfo: Handle target w/ 'None' Member.joined_at ( #2426 )
2019-02-07 22:40:40 +01:00
Toby Harradine
8f8c52d8c4
[Docs] Add note about pyenv optimisation flag ( #2428 )
...
Signed-off-by: Toby <tobyharradine@gmail.com>
2019-02-07 21:54:14 +11:00
Toby Harradine
c56fa5a320
Minor changes to install docs ( #2427 )
...
- When creating a venv, use `python3.7` instead of `python3`
- Remove unnecessary dependency from pyenv pre-requirements on Debian
- Use curl over wget for get-pip on Xenial
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-07 10:51:17 +11:00
Toby Harradine
7d5bae5a50
Use V2 of RTD's configuration file ( #2418 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-07 10:30:01 +11:00
bobloy
7c404082f8
[Help] Group Fields respect page_char_limit ( #2281 )
...
It would groups the cogs until it is **greater** than the set `page_char_limit` in helpset. This leads to inconsistent page sizes when a large cog was appended to something barely under the limit.
I think this commit will reign in the weirdness by adjusting the secondary grouping to aim for **less than** `page_char_limit` grouping.
2019-02-06 18:59:54 +11:00
Toby Harradine
dc8e61cbe5
Always tick Voice requirements on startup screen ( #2413 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-02-04 22:33:48 +11:00
zephyrkul
f2ebf52f6e
Send help on empty [p]load/unload/reload ( #2410 )
...
Rather than attempting to load / reload / unload nothing, send command help on bare `[p]load`, etc. commands.
2019-02-04 17:39:03 +11:00
Redjumpman
fa223e22ed
[Utils] Fix for MessagePredicate.lower_contained_in ( #2399 )
...
Added a missing str.lower() method when checking to see if the content is in the list.
2019-02-04 10:22:01 +11:00
PredaaA
6d22c8faa5
[Core cmds] [p]servers: handle message deletion ( #2400 )
2019-02-03 23:32:45 +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
Caleb Johnson
3a4d932d2b
Use find_namespace_packages in setup.py ( #2402 )
2019-02-01 16:10:10 +11:00
Kowlin
571332ae18
Fixed our missing templates ( #2398 )
2019-01-31 10:36:14 +11:00
Toby Harradine
0607f5552a
Use python-Levenshtein-wheels ( #2393 )
...
This removes the compiler detection logic in setup.py. python-Levenshtein-wheels includes pre-built wheels for virtually all operating systems and architectures we support.
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-30 16:52:36 +11:00
Toby Harradine
016a6d3aa6
Bump minimum python version to 3.7.0 ( #2394 )
...
This is in anticipation of #2246 , although I've written that PR to not break on 3.6, the feature itself is not usable on 3.6. So I think the best way forward is to simply require python 3.7. This also allows devs and cog creators to utilise all of the new features in 3.7, and it also updates the docs so all operating systems will have 3.7 installed.
Signed-off-by: Toby <tobyharradine@gmail.com>
2019-01-30 14:07:53 +11:00
Toby Harradine
c7d98f88e8
Update Travis badge in README to travis-ci.com ( #2395 )
...
Signed-off-by: Toby <tobyharradine@gmail.com>
2019-01-29 01:46:37 -09:00
Toby Harradine
b82756087a
Merge V3/release/3.0.0 into V3/develop
2019-01-28 15:30:30 +11:00
Toby Harradine
91258fea78
Bump version to 3.0.0
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
3.0.0
2019-01-28 14:52:14 +11:00
Toby Harradine
5c1c6e1f03
Remove version from help message
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-28 14:49:55 +11:00
Toby Harradine
6d5762d711
Move Red-Lavalink to main requirements
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-28 14:38:43 +11:00
Toby Harradine
05bef917ae
Vendor discord.py ( #2387 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-28 14:14:36 +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
El Laggron
3b62572c89
Graceful shutdown when SIGTERM is received ( #2286 )
...
Only works on Unix.
2019-01-23 10:28:30 +11:00
Iangit1
158c4f741b
Grammar in ask_sentry and interactive_config ( #2383 )
2019-01-21 09:07:55 +11:00
bobloy
abcf179042
[CogManager] Fix return type-hint ( #2319 )
2019-01-19 11:47:58 +11:00
Michael H
3dba09d19d
[Docs] Chocolately/PowerShell install instructions for Windows ( #2364 )
2019-01-19 11:45:22 +11:00
Michael H
1c4193cce2
[Permissions] Quick extra comment of importance ( #2379 )
2019-01-18 14:48:00 +11:00
Michael H
849ade6e58
Reconcile permission hooks with ctx.permission_state ( #2375 )
...
Resolves #2374 .
See mod.py's voice mute for an example of why this may be necessary.
2019-01-18 14:45:34 +11:00
Toby Harradine
0d4e6a0865
Fix MongoDB to JSON migration and warn about Mongo driver ( #2373 )
...
Resolves #2372 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-18 11:26:33 +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
32bd47e105
Bump version to 3.0.0rc3.post1
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
3.0.0rc3.post1
2019-01-11 13:09:40 +11:00
Toby Harradine
1bb5d698cc
Make Travis only do py36 tox when deploying
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-11 13:04:00 +11:00
Toby Harradine
9752a9c719
Bump version to 3.0.0rc3 ( #2367 )
...
Also updated some dependencies, including discord.py.
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
3.0.0rc3
2019-01-11 11:10:01 +11:00
Toby Harradine
7973babe4b
Catch exceptions in [p]backup ( #2363 )
...
Resolves #2354 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-11 09:07:37 +11:00
Michael H
78e4b578e2
[Utils] Tunnel minor fixes ( #2366 )
...
- Tunnel uses a safe max size (Max size is related to maximum payload, not maximum file size)
- Checks attachment sizes prior to download
2019-01-10 19:46:49 +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
Toby Harradine
aac1460240
[Utils] Exit menu silently when message is deleted ( #2344 )
...
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
2019-01-10 11:33:38 +11:00