Dav
14349d0649
Make strings in help command *truly* translatable ( #4044 )
...
* make help.py translatable
* jack's not-review 1
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* pylint is going crazy her, not sure what I'm missing
* Jack's now-this-is-actually-a-review 1
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Jack's review 2
* Let's not bother Dav with one missing backtick
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-07-08 15:11:04 +02:00
Draper
e0b922c949
Make localwhitelist check if caller will still be able to use bot after changes ( #3903 )
...
* Check invokers theoretical perms in localwhitelist add before completing command
* remove unnecessary code
* add check to remove
* ignore bot owner and server owner
* Update core_commands.py
* lets not crash shit
2020-07-07 20:08:06 +02:00
Michael H
60df447550
Add settings view commands ( #4041 )
...
Any group which sent help + settings views has had the settings view
split into a seperate command. This ensures that custom help behavior
does not interfere with settings views.
2020-07-07 00:53:41 +02:00
Vexed
2cf7a1f80d
[Core] Docstring full stops and a few other grammar fixes ( #4023 )
...
* core full stops/other grammar fixes
* need to read better (i'm keeping it on two lines)
* apply review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-07-06 20:21:45 +02:00
Michael H
d869410d36
Add .gitattributes to ensure project consistent line endings ( #4037 )
...
- Renormalized as well
2020-07-06 18:53:10 +02:00
github-actions[bot]
ff72e415aa
Automated Crowdin downstream ( #4033 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-02 19:04:35 +02:00
aikaterna
7d30e3de14
[Utils] Fix regex for role mentions in MessagePredicate ( #4030 )
2020-07-01 03:29:16 +02:00
bobloy
8b529f488b
Add 'discord.com/invite' to docs of filter_invites() function ( #4027 )
2020-06-30 14:49:45 +02:00
github-actions[bot]
b5930155df
Automated Crowdin downstream ( #4016 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-25 17:20:12 +02:00
bobloy
632840384b
Add discord.com to supported domains in INVITE_URL_RE ( #4012 )
...
* Support for discord.com
* Modified to support discord.com requiring `/invite`
* Non-capturing
2020-06-24 20:06:11 +02:00
jack1142
b49b53934d
Update deprecation warnings ( #3608 )
...
* Make deprecation notice specify minor release based on soonest date
* Stop specifying a specific release in shared libs deprecation notice
* Add actual deprecation warning for `APIToken` (OMG, this is so cool)
* Add dates (2020-08-05 for all)
* address review
* improve consistency
* Add __dir__ and show APIToken in docs (or maybe I want to annoy Flame)
* fix module name when importing non-existent name from parent package
* Fix stack level used by depr warn in `redbot.core.commands`
2020-06-22 03:25:33 +02:00
Draper
477186d09d
Add map(), find() and next() methods to AsyncIter ( #3921 )
...
* properly handle prefixes
* Docsss and typehinting
* aaaaaaaaaaa
* Apply suggestions from code review
* ffs
* docs
* docs
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* skip await if map is none
* implement `.next()`
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-06-21 19:47:48 +02:00
Vexed
2d63e3d6aa
Print getting started guide on startup when bot is in no guilds ( #3906 )
...
* Link getting started guide
* 3.3.9
* fk
2020-06-19 01:13:01 +02:00
Draper
175fbebd73
Move logic for fetching latest Red version info to internal util ( #3904 )
...
* Only Send out of date message to Final builds available on PyPi
* Only Send out of date message to Final builds available on PyPi
* sorted the resulting list so that the newest build is first in the list
* forgot about this one
* well jack is a bitch but we love him.
* simplify logic
* Add the new function to `__all__`
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-06-18 22:21:59 +02:00
Vexed
3a0574eae8
[Core] Change [p]embedset user docstring and message to explicitly say DMs only ( #3972 )
...
* change docstring and message to explicitly say DMs
* didn't think i'd need to run black...
* wrong branch...
This reverts commit aa6aa5cf4bcf9ff66e8c3e1636daa03feee47e97.
* wait its the right branch
* review - seperate enabled & disabled strings
* review
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
2020-06-18 16:00:08 +02:00
jack1142
70c733e146
Use a task instead of awaiting for delete delay ( #3884 )
2020-06-18 15:50:42 +02:00
github-actions[bot]
0358473af5
Automated Crowdin downstream ( #3984 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-18 14:33:59 +02:00
Vexed
f58f6bb6d2
Update dm docstring for readability and grammar (+ period in contact) ( #3946 )
...
* update `dm` docstring
* few changes
* hmm
* cant make my mind up how to word it
* fk i forgot "and"
this is the last one, i promise
* add missing full stop in `contact` as im in this area of core_commands
* oh, see ^^^ review
* `click on` instead of `select`
Co-authored-by: Vexed01 <>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-06-11 19:31:49 +02:00
Draper
da83e02749
Show storage type in start up message ( #3935 )
...
* Lets show active storage on start up message
* Lets show active storage on start up message
* let's make it like in `[p]debuginfo`
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-06-11 19:05:32 +02:00
Draper
76efb16f96
[UX] Add "server" alias for commands that have "guild" in name ( #3947 )
2020-06-11 18:56:57 +02:00
Predeactor
d411873503
Only trigger cooldown when message is parsed in [p]contact ( #3942 )
2020-06-11 18:54:11 +02:00
Flame442
f0a4c1c252
[Core Commands] Fix [p]set custominfo error ( #3923 )
2020-06-11 18:46:30 +02:00
Draper
b1d394eac5
[Core] Add a text only version to [p]info ( #3907 )
...
* ...
* Finish implementation
* some people think an embedless world brings joy ... I agree to disagree.
2020-06-11 15:07:27 +02:00
github-actions[bot]
4335b3b2d4
Automated Crowdin downstream ( #3913 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-04 14:22:16 +02:00
Neuro Assassin
bc21f77976
Fix setting guild prefixes when the prefixes aren't in cache ( #3897 )
2020-06-02 03:02:35 +02:00
Neuro Assassin
7a86cc4bf3
[Core] Add bot.set_prefixes() ( #3890 )
...
* Add bot.set_prefixes; change set serverprefix and set prefix to new method
* Address requested changes
* Apply suggestions from code review
* One more
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-05-31 00:57:49 +02:00
jack1142
f2d02a6f46
(again) Handle the ints for user objects in Modlog appropriately ( #3805 )
...
* Handle the ints for user objects in Modlog appropriately (#3784 )
* God, this is stupid
* Add logging of unexpected exceptions
* Add more specific info for Forbidden error
* add i18n support
2020-05-29 00:09:37 +02:00
jack1142
05ec73266c
Fix behavior of is_owner for team applications and put all owner IDs in one attribute ( #3793 )
...
* blah
* you idiot
* Me likey Danny's way
* Add a warning when bot has no owner set
2020-05-29 00:03:23 +02:00
jack1142
ed89f70f98
Fix uses of re.sub() ( #3826 )
...
* Fix uses of `re.sub()` (pt. 1)
* Fix uses of `re.sub()` (pt. 2)
* Fix uses of `re.sub()` (pt. 3)
* Fix uses of `re.sub()` (pt. 4)
* Revert commands.py
2020-05-28 23:51:53 +02:00
jack1142
4757c2c945
Add get_babel_regional_format() to redbot.core.i18n.__all__ ( #3827 )
2020-05-28 23:44:57 +02:00
github-actions[bot]
e0d8942741
Automated Crowdin downstream ( #3872 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-28 22:44:32 +02:00
Draper
4f25e6c1ad
Add information on how to update to out of date message ( #3744 )
...
* add a more detailed update help
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* a bit more clarity
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* sure thing Jack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* add a disclaimer to the update command saying if the user faces any difficulties to check the system appropriate docs and/or support server
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* add translation support
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* better translation support for these
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Update redbot/core/events.py
Co-Authored-By: Flame442 <34169552+Flame442@users.noreply.github.com>
* Apply suggestions from code review
Co-Authored-By: Flame442 <34169552+Flame442@users.noreply.github.com>
* review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Revert black fuckery
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* aaaaaaaaaaaaaaaaaaaaaaaaaaa
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* address jacks review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/core/events.py
* Update redbot/core/events.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/core/utils/_internal_utils.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-05-27 08:39:53 +02:00
Neuro Assassin
87d828a1b0
[Docs] Add information about provisional status of RPC ( #3862 )
2020-05-25 21:26:46 +02:00
github-actions[bot]
e52ff98cad
Automated Crowdin downstream ( #3860 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-25 00:09:55 +02:00
Neuro Assassin
ef76affd77
Fix local blacklist and whitelist commands ( #3857 )
2020-05-19 02:22:05 +02:00
Predeactor
fb26ecf577
Fix casing and add missing dot in two commands ( #3851 )
2020-05-15 15:55:28 +02:00
github-actions[bot]
de99aac3ad
Automated Crowdin downstream ( #3850 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-14 22:07:36 +02:00
Toby Harradine
7aff7962f0
Fix creation of IdentifierData in config raw methods ( #3829 )
...
* Fix creation of IdentifierData in config
Also adds some new tests regarding partial primary keys.
Resolves #3796 .
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-05-09 15:11:23 +10:00
github-actions[bot]
480c3129bd
Automated Crowdin downstream ( #3830 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-07 16:37:33 +02:00
Michael H
981661ea68
Simplify the inheritance of the bot ( #3822 )
2020-05-07 03:08:20 +02:00
Qais Patankar
7d28581915
Fix 'authentification' typo ( #3823 )
2020-05-06 20:20:52 +02:00
Flame442
aaee2d9294
Fix incorrect docstring in [p]helpset maxpages ( #3817 )
2020-05-01 18:30:58 +02:00
Kowlin
ef35fc0c5f
Revert "Handle the ints for user objects in Modlog appropriately ( #3784 )" ( #3802 )
...
This reverts commit e595f1859a017ded487390f71d897548656dde8e.
2020-04-28 02:03:22 +02:00
TrustyJAID
6f6c536236
[Alias] Create caching to call config less frequently ( #3788 )
2020-04-27 02:25:41 +02:00
jack1142
a1095285e4
Fix migrations from JSON driver ( #3714 )
2020-04-27 01:32:52 +02:00
Draper
fc2dce6882
[Driver] Ensure JSON driver has a singular lock per cog name ( #3780 )
2020-04-26 18:21:48 +02:00
Draper
bd3d0dd64d
Show current driver in [p]debuginfo ( #3794 )
...
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-04-26 16:07:57 +02:00
PredaaA
c760b43e5a
Allow to disable escaping in chat formatting utils ( #3742 )
...
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-04-24 18:17:19 +02:00
jack1142
b1fe807b47
Don't run command checks on each message starting with a prefix ( #3718 )
2020-04-24 18:12:25 +02:00
Kowlin
bf6390d72e
Fix Owner ID failsafe ( #3782 )
...
* Fix Owner ID failsafe
* Update redbot/core/bot.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Let's go with a different approach (first commit)
* Let's go with a different approach (last commit)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-04-24 18:03:58 +02:00