github-actions[bot]
4db77c9051
Automated Crowdin downstream ( #3616 )
2020-02-28 01:02:44 +01:00
jack1142
4745f9e999
[Trivia] Remove empty string from answers ( #3581 )
...
* [Trivia] Remove empty string from answers
* another one
* nobody minds that I put this change too, right?
2020-02-20 22:27:22 -05:00
github-actions[bot]
6779a76b68
Automated Crowdin downstream ( #3580 )
2020-02-20 13:21:37 +01:00
jack1142
4956e67348
[Mod] Delegate send_to_owners call in initialize() to a task ( #3573 )
...
* fix(mod): delegate send_to_owners call in initialize() to a task
* enhance(mod): reorder cog's setup()
2020-02-19 02:12:50 -05:00
Fixator10
ae7773cfcf
[Mod] fix exception caused by typo ( #3559 )
2020-02-17 11:46:14 -05:00
Dav
d7b73eb50f
[Warnings] Fix inconsistency for warnreason ( #3561 )
2020-02-17 16:55:28 +01:00
jack1142
eff1014911
Add logging for unexpected OSError in [p]repo add ( #3558 )
...
* Update downloader.py
* Update downloader.py
Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
2020-02-17 11:57:04 +00:00
Michael H
888c47cdd2
Payday: Fix missing await ( #3554 )
2020-02-15 14:47:33 +01:00
TrustyJAID
74a3eba08f
[Mod] Move ignored guilds and channels to core ( #3472 )
...
* Move ignored guilds and channels to core
Add caching for ignored guilds and channels
Add caching for whitelist and blacklist
Fix #3220
Add consume-rest for whitelist and blacklist commands to add multiple users or roles in one command
* Add ability to ignore channel categories
* black
* moveignorechannels should be owner only and cleanup changes
* add changelog entries
* address Feedback
2020-02-15 01:21:09 -05:00
jack1142
78192dc1af
[Downloader] Add schema validation to info.json file processing ( #3533 )
...
* schema v1
* set hidden to True for shared libs
* fix test data
* add warning about invalid top-level structure
* don't show full traceback for JSONDecodeError
2020-02-15 00:18:47 -05:00
PredaaA
ed6d012e6c
[Streams] Use new Twitch API and Bearer tokens ( #3487 )
...
* Update streams.py
* Update streams
* Changelog.
* Adress Trusty's review
Co-authored-by: Michael H <michael@michaelhall.tech>
2020-02-15 00:14:34 -05:00
Draper
04b5a5f9ac
[Streams] Significantly reduce number the quota usage for YouTube Data api ( #3237 )
...
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Pre-tests
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* *sigh*
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Streams + black formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* *sigh* lets not spam the logs shall we
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* lets be extra sure
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* [Streams] Fix Twitch token for streamalert (#2 )
* [Streams] Fix Twitch token for streamalert
* [Streams] Fix Twitch token for streamalert
Co-authored-by: PredaaA <46051820+PredaaA@users.noreply.github.com>
2020-02-15 00:06:03 -05:00
jack1142
a763726c89
Update alias.py ( #3546 )
2020-02-14 09:20:32 -05:00
Dav
e7969992c3
[Warnings]Make it possible to add reason with unwarn ( #3490 )
...
* Unwarn now able to have a reason
* black
* Update string to say Run instead of Do
Co-Authored-By: Draper <27962761+Drapersniper@users.noreply.github.com>
* Make error for unregistered reason less agressive
Co-Authored-By: Draper <27962761+Drapersniper@users.noreply.github.com>
* Removing unneccessary lines and not putting the user input through the translator.
* Because black hates me, here black formatting with adjusted line length
* Trigger CI
* Now always sendes a message when an invalid reason is passed, not only if the command author was an admin, guild owner or bot owner.
* That should do the trick
* Correct
* Make Reason optional
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-02-14 09:13:44 -05:00
Hugo Hedlund
6ddaff6260
Payday should store the last time it was used so it can be compared to the cooldown value rather than using a cooldown deco that won't reset if cooldown goes lower ( #3496 )
...
* Payday #3438 Changed next_payday to last_payday
* Created towncrier entry
* [PR #3496 ] Requested changes
* rm .vs
2020-02-14 09:13:18 -05:00
github-actions[bot]
0913b68a1e
Automated Crowdin downstream ( #3543 )
2020-02-13 12:54:28 -05:00
Cog-Creators Bot
4370ec922b
Automated Crowdin downstream ( #3531 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-08 19:49:30 +01:00
DiscordLiz
8e3a76186b
[Mod] Use a better converter for Hackban & Unban ( #3524 )
...
closes #3523
2020-02-08 07:43:03 -05:00
jack1142
8f7ba02ab1
[Warnings] Stop using inspect.getsource to check for is_owner check ( #3516 )
...
* Update helpers.py
* Create 3515.misc.rst
* Update helpers.py
2020-02-06 19:42:36 -05:00
trundleroo
8d73838d80
Update announcer.py ( #3514 )
...
* Update announcer.py
* Update announcer.py
2020-02-06 18:27:32 +01:00
Michael H
00cf395483
Handle deprecations in asyncio ( #3509 )
...
* passing loop to certain things was deprecated. additionally, `asyncio.get_event_loop()` is being deprecated
* awesome, checks are functioning as intended
* fun with fixtures
* we can just stop misuing that anyhow
* Update redbot/pytest/downloader.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-02-05 17:16:13 -05:00
jack1142
8454239a98
[Mod] Fix shorthelp for [p]modset dm ( #3488 )
...
* Update settings.py
* Update settings.py
* Create 3488.misc.rst
* Update settings.py
2020-02-03 16:14:19 -05:00
Kowlin
b64802b92f
Fix for the unknown days argument on hackban. ( #3475 )
2020-01-30 18:55:11 +01:00
Draper
8654924869
[Audio] Allow lazy searching for playlist across scopes ( #3430 )
...
* Allow lazy searching for playlist cross scope
* Chore
2020-01-26 16:38:49 -05:00
jack1142
068585379a
docs: deprecation of shared libraries has been postponed to 3.4 ( #3449 )
2020-01-26 12:16:44 -05:00
jack1142
fc5fc08962
[Downloader] Log errors from initialization task ( #3444 )
...
* Update downloader.py
* Create 3444.misc.rst
* enhance(downloader): don't type infinitely on init error
* fix(downloader): unindent `_ready_raised` check
* Update downloader.py
2020-01-26 12:16:13 -05:00
Ianardo DiCaprio
de4804863a
[Mod] Option to DM user with kick/ban reason. ( #2990 )
...
* FUCK
* FUCK
* FUCK
* Update kickban.py
* Update settings.py
* Update kickban.py
* Update kickban.py
* Add files via upload
* black
* Update kickban.py
* Update kickban.py
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update settings.py
* Update kickban.py
* Update and rename 2990.enhance.rst.txt.txt to 2990.enhance.rst.txt
* Update settings.py
* Rename 2990.enhance.rst.txt to 2990.enhance.rst
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: DevilXD <DevilXD@users.noreply.github.com>
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: DevilXD <DevilXD@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update changelog.d/mod/2990.enhance.rst
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update kickban.py
* Update settings.py
* Update kickban.py
* Update kickban.py
* Update redbot/cogs/mod/kickban.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update kickban.py
* Update kickban.py
* Update mod.py
* Update settings.py
* Fix SyntaxError
* Don't pass "No reason was given." to modlog case
* Update settings.py
* Update 2990.enhance.rst
* black
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: DevilXD <DevilXD@users.noreply.github.com>
2020-01-26 04:18:13 +01:00
jack1142
2a38777379
[Downloader] Do the initialization in task to avoid timeout on bot startup ( #3440 )
...
* enhance(downloader): run init in task
* chore(changelog): add towncrier entry
* fix: address review
2020-01-24 12:38:42 -05:00
jack1142
01c1fdfd16
[Mod] Make [p]hackban use default days setting too. ( #3437 )
...
* Update kickban.py
* freaking whitespace
2020-01-24 10:30:32 +00:00
Draper
0a8e7f5663
stop dc interacting with repeat ( #3426 )
2020-01-23 17:05:50 -05:00
Ianardo DiCaprio
1755334124
[Mod] Default days in [p]ban command are now configurable ( #2930 )
...
* Initial Commit
* Added changelog
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update redbot/cogs/mod/settings.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Rename 2930.enhance.rst.txt to 2930.enhance.rst
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-01-23 20:37:11 +01:00
Stonedestroyer
e1a110b1bf
[Misc] Typo fixes ( #3427 )
...
* [Misc] Typo fixes
* Changelog
* Trivia list
* Update 3427.misc.rst
* Changelog
2020-01-22 10:00:52 +00:00
jack1142
c7fd64e0c8
[Downloader] Improve InstalledCog converter's error message ( #3409 )
...
* Update converters.py
* Create 3409.misc.rst
2020-01-20 17:09:55 -05:00
Stonedestroyer
b085c1501f
[General] Max amount to roll ( #3395 )
...
* [General] Rolls max amount
Adds max amount to roll.
* Removed redundant code.
* QA changes
* Add typehinting.
2020-01-20 16:49:46 -05:00
Stonedestroyer
7f390df879
[Customcom] Fix error on exiting customcom interactive menu. ( #3417 )
...
* [Customcom] Fixes error on exit
* Changelog
* Fixed spelling.
* Typehinting
2020-01-19 18:08:31 +01:00
Flame442
54e65082bc
[Admin] Notify when the user has/doesn't have the role when att… ( #3408 )
...
* Update admin.py
* Create 3010.enhance.rst
2020-01-18 18:10:25 +00:00
Michael H
6219f0da67
[Modlog API] Add resolution for people inpacted by bad casetypes ( #3333 )
...
* add resolution for people inpacted by bad casetypes
* *some* amount of notice on this
* Fine.
* clearer warnings
* actually, unnneded
2020-01-17 18:51:49 -05:00
Draper
2c12e4f6bf
[Audio] Show symbolic link folders ( #3376 )
...
* Fixes Bump play
* Fixed #3332
* Revert "Fixed #3332 "
This reverts commit d76d3acb
* Revert "Fixes Bump play"
This reverts commit 3839bdaf
* *sigh*
* *sigh*
* *sigh*
* use iglob + async iterator
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* black
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* + fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2020-01-17 17:07:49 -05:00
Draper
41b283ce5d
[Audio] Show correct time remaining for bumped tracks ( #3375 )
...
* Fixes Bump play
* *sigh*
2020-01-17 17:00:29 -05:00
Draper
3d1e6eab00
[Audio] Add backticks to commands in docstrings, fix GH-3140 ( #3374 )
...
* docstring change
* remove backticks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Seems like i cant read
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Rename 3140.enchance.1.rst to 3140.enhance.1.rst
2020-01-17 22:30:29 +01:00
jack1142
67fbcb1b4a
enhance(downloader): pagify any output that might be too long ( #3388 )
2020-01-17 04:44:10 -05:00
jack1142
a1b95e5072
enhance(downloader): log git commands that failed ( #3372 )
2020-01-15 20:54:23 -05:00
jack1142
2be4080bc6
stop messing with distutils's internal just to copy directory ( #3364 )
2020-01-14 12:52:18 -05:00
Dav
90c0f76ae4
[Warnings] Make [p]warnings usable on base of permissions ( #3327 )
...
* new code
Added the admin check to warnings and removed the part where the user could check themselves.
Added new mywarns which replaces part of the old behaviour of warn
* Update warnings.py
* Create 2900.enhance.rst
* Fixed command name
Because appearently I can't remember a command for 10 seconds
* Commands in backticks
Put command names in changelog in double backticks after being advised to do so in discord
* made user not optional, and the other thing sinbad requested
* switched parts. magic
resolves #2900
2020-01-13 17:57:39 -05:00
Draper
7bdd177713
[3.2.3][Audio] Correct an unsupported LoadType ( #3337 )
...
* Limit Playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* logging improvements
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* logging improvements
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* sigh
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2020-01-12 18:35:49 -05:00
Draper
81b6d5bb93
why the hell is this here ( #3357 )
...
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2020-01-12 18:35:23 -05:00
jack1142
cb49c5d420
[Downloader] Improve partial-uninstall message in [p]cog uninstall ( #3343 )
...
* Update downloader.py
* Let's use more of Flame's suggestions.
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
2020-01-12 18:21:00 -05:00
Draper
a984971774
[3.2.3][Audio] Fixes some Playlists strings ( #3347 )
...
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2020-01-12 18:20:31 -05:00
Draper
9f027cc3e0
[3.2.3][Audio] Improved Playlist cooldowns ( #3342 )
...
* Improved Playlist cooldowns
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Improved Playlist cooldowns
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* formatting
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
2020-01-12 18:19:36 -05:00
Flame442
fe7770c833
[Admin] Fixes hierarchy issues in [p]selfrole and [p]selfroleset ( #3331 )
...
* More fixes
* Update admin.py
2020-01-12 18:01:45 -05:00