Michael H
2f28df2dd0
Merge branch 'V3/feature/mutes' of https://github.com/Cog-Creators/Red-DiscordBot into V3/feature/mutes
2020-02-06 15:09:40 -05:00
Michael H
677d700363
Merge branch 'V3/develop' into V3/feature/mutes
2020-02-06 15:09:19 -05:00
trundleroo
8d73838d80
Update announcer.py ( #3514 )
...
* Update announcer.py
* Update announcer.py
2020-02-06 18:27:32 +01:00
Kowlin
1fc4ece14c
Updated readme badges. ( #3511 )
2020-02-05 17:32:35 -05:00
Michael H
0adc960c60
dev bump ( #3512 )
2020-02-05 17:32:05 -05:00
Michael H
c426aefd1a
Version 3.3.1 ( #3510 )
...
* 331
* okay sphinx
3.3.1
2020-02-05 23:21:38 +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
Kowlin
61ed864e02
CI ports from Travis CI ( #3435 )
...
* Attempt 1, I suppose.
* Add the remaining 2 out of 3 jobs
* Spacing matters T_T
* So does formatting...
* More formatting fixing.
* First attempt at postgres services.
* Postgres attempt 2
* Update tests.yml
Flatten a python version I suppose.
* Update tests.yml
* Update tests.yml
* Update tests.yml
* Update tests.yml
* I wonder if this works lmao
* this is fun™
* let's go back
* add fail-fast
* Added publishing workflows
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-02-05 16:02:05 -05:00
Lane Babuder
90b099395b
Adding CentOS 8 Documentation ( #3463 )
...
IUS will not be supporting RHEL 8, so utilizing epel-release and telling the system to use standard git is the best option.
2020-02-03 16:57:09 -05:00
aikaterna
12e6f44135
[Core] No DMing the bot ( #3478 )
...
* [Core] No DMing the bot
* Return early if target user is a bot
2020-02-03 16:26:33 -05:00
PredaaA
e44fc69d14
[Core] Add a cli flag for setting a max size of message cache ( #3474 )
...
* Add an arg in cli to change message cache size
* Add an arg in cli to change message cache size
* Changelog
* Actually pass None in message_cache_size
* Update cli.py
* Add a cli arg to disable message cache.
* Add a cli arg to disable message cache.
* well go away you useless
* you actually are an int
* Check if message cache is higher than 0 when set it.
* Use sys.maxsize as max cache size.
* Update cli.py
* Add bot.max_messages property.
* typos
* 🤦
* style
2020-02-03 16:14:45 -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
jack1142
64106c771a
Allow to edit prefixes through redbot --edit ( #3486 )
...
* feat: allow to edit prefixes through `redbot --edit`
* enhance: allow to setup multiple prefixes
* fix: gotta break out of the loop
* fix: gotta sort prefixes in reversed order
* fix: editing prefix shouldn't save it as token
* fix: sort prefixes when using flag too
* chore(changelog): add towncrier entry
* docs: update help for `--edit` flag
2020-02-03 16:08:48 -05:00
jack1142
17234ac8fa
Add -e flag to journalctl command in systemd guide so that it takes the user to the end of logs automatically. ( #3483 )
...
* Make journalctl's pager go to the end of logs automatically
* Aaaaaaaand changelog
2020-02-01 01:26:39 +01:00
Kowlin
b64802b92f
Fix for the unknown days argument on hackban. ( #3475 )
2020-01-30 18:55:11 +01:00
jack1142
6fa02b1a8d
[Docs] Trigger update on sudo add-apt-repository ( #3464 )
2020-01-27 18:41:57 -09:00
Michael H
7420df9598
let's fix this for dev testers ( #3458 )
2020-01-27 03:35:16 -05:00
Michael H
00bcd480e7
dev bump ( #3455 )
2020-01-26 20:39:38 -05:00
Michael H
0d3c72f356
changelog and bump ( #3454 )
3.3.0
2020-01-26 20:18:25 -05:00
Michael H
97a9fde5fd
slowmode should properly error out on 7 hours now ( #3453 )
2020-01-27 02:01:22 +01:00
Michael H
a664615a2d
shortdoc should be formatted too, + generic replacement method ( #3451 )
2020-01-27 01:25:58 +01:00
Michael H
3d4f9500e9
[Permissions] Ordering fix ( #3452 )
2020-01-27 01:00:08 +01:00
Michael H
a8450580e8
[Commands Module] Improve usability of type hints ( #3410 )
...
* [Commands Module] Better Typehint Support
We now do a lot more with type hints
- No more rexporting d.py commands submodules
- New type aliases for GuildContext & DMContext
- More things are typehinted
Note: Some things are still not typed, others are still incorrectly
typed, This is progress.
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-01-26 17:54:39 -05: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
Stonedestroyer
41fdcb2ae8
[Core] Embeds toggle for channels. ( #3418 )
...
* [Core] Embedset toggle for channels.
* Typo fix
* Add to contact as well
Thanks Jack.
* Add guild only and check.
2020-01-26 12:15:22 -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
Michael H
2ac4dde729
update for d.py 1.3 ( #3445 )
...
* update for d.py 1.3
* Update redbot/core/commands/commands.py
Co-Authored-By: Danny <Rapptz@users.noreply.github.com>
* a few more places we use owner info
* add the cli flag + handling
* set fix
* Handle MaxConcurrencyReached.
* Bump `aiohttp-json-rpc`
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2020-01-25 18:59:08 -05:00
Michael H
498d0d22fb
resolves #3443 ( #3447 )
2020-01-25 18:57:07 -05: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
zephyrkul
40c0d8d83b
[systemd] fix which cmd for pyenv ( #3434 )
2020-01-22 23:20:35 -05:00
DevilXD
ee53d50c3a
Help delete pages delay feature ( #3433 )
...
* Added 'deletedelay' feature for help
* Fixes
* More fixes
* Use better message when disabling
* Added changelog entry
* Addressed feedback
* Improved the pages check
* Added additional command check
* Improved command description
* Final feedback improvements
2020-01-22 17:15:51 -05:00
Stonedestroyer
8570971f68
[Core] Make bot name adjustable in bot. ( #3429 )
...
* First draft
* Up for discussion
* Revert "Up for discussion"
This reverts commit 2f00b7ded8c0d03a7a06b7b973438cbd87d1f447.
2020-01-22 12:52:06 -05: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
Michael H
77235f7750
[commands] Implement __call__ to commands.Command ( #3241 )
...
* This is technically awesome, but let's not document it for public use rn
* changelog
2020-01-20 23:23:15 +01: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
Flame442
8f04fd436f
Catches discord.NotFound in utils.mod.mass_purge ( #3414 )
...
* Catches `discord.NotFound` in `mass_purge`
* Create 3378.bugfix.rst
2020-01-20 17:09:17 -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
4c77cde249
Merge branch 'V3/develop' into V3/feature/mutes
2020-01-17 20:25:45 -05:00
Michael H
826dae129e
dev bump ( #3406 )
2020-01-17 20:23:16 -05:00
jack1142
12da3bd89e
Update changelog_3_2_0.rst ( #3405 )
3.2.3
2020-01-17 20:06:32 -05:00
Michael H
b089be7b49
fixup docs ( #3404 )
2020-01-17 19:57:27 -05:00
Michael H
33ea3a1419
version bump w/changelog ( #3403 )
2020-01-17 19:47:22 -05:00
Stonedestroyer
66cae71d90
[Docs] Changed python version references on docs ( #3402 )
...
* [Docs] Changes Python references to Python 3.8
* [Misc] Remove obsolete mention to Zenhub
2020-01-18 01:05:39 +01:00