Dav
35b0224690
[Mute] Indicate that a guild mute/unmute is currently being processed. ( #4172 )
...
Co-authored-by: fixator10
2020-08-10 20:19:44 +01:00
jack1142
01a6ef3a8f
Add variation selector-16 as appropriate to emojis across Red ( #4127 )
2020-08-10 03:05:57 +02:00
github-actions[bot]
5f52fb872a
[i18n] Automated Crowdin downstream ( #4166 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-06 17:19:59 +02:00
jack1142
6cef336417
Remove unused try except blocks in modlog.create_case() usage ( #4095 )
2020-08-05 19:40:52 +01:00
Michael H
c0b1e50a5f
Begin work on a data request API ( #4045 )
...
[Core] Data Deletion And Disclosure APIs
- Adds a Data Deletion API
- Deletion comes in a few forms based on who is requesting
- Deletion must be handled by 3rd party
- Adds a Data Collection Disclosure Command
- Provides a dynamically generated statement from 3rd party
extensions
- Modifies the always available commands to be cog compatible
- Also prevents them from being unloaded accidentally
2020-08-03 15:09:07 +02:00
github-actions[bot]
7e7a3a6488
Automated Crowdin downstream ( #4133 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-01 16:58:27 +02:00
Michael H
1d80fe9aec
Create cog disabling API ( #4043 )
...
* create cog disbale base
* Because defaults...
* lol
* announcer needs to respect this
* defaultdict mishap
* Allow None as guild
- Mostly for interop with with ctx.guild
* a whitespace issue
* Apparently, I broke this too
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* This can probably be more optimized later, but since this is a cached value, it's not a large issue
* Report tunnel closing
* mod too
* whitespace issue
* Fix Artifact of prior method naming
* these 3 places should have the check if i understood it correctly
* Announce the closed tunnels
* tunnel oversight
* Make the player stop at next track
* added where draper said to put it
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-07-28 20:52:36 +02:00
github-actions[bot]
fb96392e73
Automated Crowdin downstream ( #4103 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-28 03:05:19 +02:00
github-actions[bot]
dcc77cf24f
Automated Crowdin downstream ( #4078 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-20 03:30:58 +02:00
Vexed
1ee32b77dd
[Mod] [p]mute|unmute voice now take action instantly ( #4064 )
...
* make mute and unmute have the same fail string
* now add the jucy bits
* hmm no
This reverts commit a445bd8415 .
* Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-07-12 18:44:34 +02:00
jack1142
fdf2ed6ecc
Make [p]tempban respect default_days setting ( #3993 )
2020-07-10 21:40:04 +01:00
github-actions[bot]
a7a18ad956
Automated Crowdin downstream ( #4060 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-09 18:53:49 +02:00
Dav
49b19450fd
[Mod] Make tempbans permanent when using [p]hackban ( #4025 )
...
* Remove users from tempban unban list when hackbanning them
* black and missing bracket
* make sure this actually gets processed
* let the user know when a tempban was upgraded
* say more things
* reduce config calls
* jack loves performance
* adress review
* review the 2nd
2020-07-08 01:15:42 +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
jack1142
4dd0fb97fe
Stop putting text about invite when invite isn't sent in tempban message ( #3991 )
2020-07-06 18:57:16 +01: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
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
Draper
81f146a2ef
[Mod] Only send the DM about migration if at least 1 scope entry has a non-default value ( #3911 )
...
* Only send notify_owners in mod migration if at least 1 scope entry has a non default value
* update string
* use asynciter on these potentially large loops
* check server settings too
2020-06-21 19:45:35 +02:00
Flame442
144b7b36d0
[Mod] Consistency periods & proper logging ( #3895 )
...
* Consistency periods & proper logging
* woooo jack
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update kickban.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-06-19 12:58:40 +02:00
Dav
802641ce6b
Use timedelta converter for ban duration and add option to pass delete days to [p]tempban ( #3958 )
...
* add duration atribute
* sanity checks
* add days parameter
* maybe resolve conflicts?
* black and make linting happy
* right... I need to send this
* but I still need to return... oops
2020-06-19 01:51:06 +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
jack1142
8d553a3fc6
Improve command error responses ( #3951 )
...
* Update settings.py
* Update modlog.py
2020-06-18 13:46:20 +02:00
Dav
593079dbbb
[Mod] Make tempban more consistent with other ban commands. ( #3957 )
...
* add duration atribute
* sanity checks
* obviously that didn't work...
* insert facepalm here
2020-06-12 00:30:11 +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
Flame442
6984dca394
[Mod] Preemptive fix for the next dpy update ( #3891 )
2020-05-31 03:56:21 +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
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
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
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
PredaaA
51f7d6cea2
Show default avatars in [p]userinfo when no avatar is set ( #3819 )
2020-05-07 02:37:06 +02:00
jack1142
0d6a7eb797
Stop fetching bans when checking for tempban expiration ( #3783 )
2020-04-24 18:11:41 +02:00
github-actions[bot]
61db89e89d
Automated Crowdin downstream ( #3785 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-23 14:44:20 +02:00
Draper
ad979180e5
Make the largest loops lazier and async to avoid blocking ( #3767 )
...
* lets reduce config calls here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Lets normalize how we name config attributes across the bot.
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ....
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Just a tiny PR improving config call in a lot of places (Specially events and Help)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* stop using `bot.guilds` in `on_command_add`
* Just a tiny PR improving config call in a lot of places (Specially events and Help)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* nothing to see here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* lets reduce config calls here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Just a tiny PR improving config call in a lot of places (Specially events and Help)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* stop using `bot.guilds` in `on_command_add`
* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* jack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/filter/filter.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* jack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* make all large loops async to avoid blocking larger bots
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* okay now working AsyncGen
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* may or may not have forgotten 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 >
* jack's review
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DOCS
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* DOCS
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 >
* jack
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/utils/__init__.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/utils/__init__.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* avoid loop if possible and if not only iterate once
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-04-20 19:56:28 +02:00
Draper
f59e77002b
Optimize config calls in few places ( #3766 )
...
* Just a tiny PR improving config call in a lot of places (Specially events and Help)
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* missed this one
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* welp
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* jack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* jack
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-04-20 19:29:36 +02:00
Draper
e4018ec677
Normalize names of attributes with Config instances ( #3765 )
...
* Lets normalize how we name config attributes across the bot.
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* ....
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
* nothing to see here
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com >
2020-04-20 19:12:57 +02:00
github-actions[bot]
36a0eabf4a
Automated Crowdin downstream ( #3739 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-09 21:27:35 +02:00
github-actions[bot]
587968710f
Automated Crowdin downstream ( #3719 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-04 06:28:55 +02:00
kennnyshiwa
497d244f95
Show member's activities in [p]userinfo command ( #3669 )
...
* [mod] status improvements in userinfo command
Adds support for statues in the userinfo command including custom status, playing and listening improvements
* fix style
* maybe fix style now
* Update redbot/cogs/mod/names.py
Co-Authored-By: Draper <27962761+Drapersniper@users.noreply.github.com >
* fix spaces
* address review and add emojis
* fix broken variable
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update names.py
* Update names.py
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update names.py
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/mod/names.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-03-28 19:44:56 +01:00
jack1142
d70c6e1734
Update mod.py ( #3683 )
2020-03-28 01:05:25 +01:00
github-actions[bot]
eef5ddb416
Automated Crowdin downstream ( #3697 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-26 14:06:51 +01:00
TrustyJAID
b9f07e8684
[Mod] Move deletedelay to core ( #3638 )
...
* Move deletedelay to core
* line lengths
* address review
* move settings change
* fine...
2020-03-21 18:39:58 +01:00
github-actions[bot]
0f364a6d13
Automated Crowdin downstream ( #3671 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-19 23:38:27 +01:00
github-actions[bot]
3e1bb88ab7
Automated Crowdin downstream ( #3650 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-03-18 20:48:15 +01:00
jack1142
4afe1ff569
Use correct prefixes when sending messages to owners ( #3632 )
...
* use correct prefixes when sending messages to owners
* make internal util for this instead
* oops
* fix circular import
* let's add back the actual fix I made this PR for...
* fix wrong logger name
* improve log message
2020-03-12 17:31:33 +01:00
Kowlin
3ff127d514
Automated Crowdin downstream ( #3640 )
2020-03-05 22:01:26 +01:00
Kowlin
ea3ca66303
Handle users leaving the server while we're applying mutes ( #3627 )
...
* Handle when users leave a server while we're applying mutes
Goddamn guilds with >100 text channels >.<
* Damn you tox.
* Damn you Bread.
* Fixed a bug whereby Guild would always return a success
Also handled error checking on NotFound so that the propper handling can be done.
* Fixed flake8 compile error (whoops)
* Revert "Fixed flake8 compile error (whoops)"
This reverts commit ec8b672347 .
* Revert "Fixed a bug whereby Guild would always return a success"
This reverts commit 8d08ac31af .
* Apply the lost commits that we actually want
Since cherry picking is hard.
* Isn't the English language FUN!?
* *sigh*
2020-03-01 21:11:46 +01:00
jack1142
eedec4ff02
fix: use clean prefix in code blocks ( #3591 )
2020-02-28 21:23:13 +01:00
github-actions[bot]
6779a76b68
Automated Crowdin downstream ( #3580 )
2020-02-20 13:21:37 +01:00