* Make the dev env flexible
* Fix rst format in docstrings
* Reproduce current behaviour for _ in repl
* Prevent adding existing or reserved names
* Fix typo with environment
* Docstring changes
Apply suggestions from code review
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Get env before loop
* Hey I'm not the only one doing typos
* Keep new messages in env
* Clear exception of stack frames
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Include the `channel` variable in the reserved names
* And we're also missing `discord` :)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Allow "discord.DMChannel" for MessagePredicate
This closes#4707.
* Optional only takes a single type, use Union
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update help.py
* Create 3040.enhance.rst
* remove towncrier entry
* Make it i18n friendly.
* That was uneeded to change this actually.
* ...
* ..
* .
* Add a setting for aliases.
* DOTS
* Update redbot/core/core_commands.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Address requested changes maybe
* New format + changes requested.
* okay we'll get there someday
* honk
* aaaaaaaaaaaaaaa
* Black
* Fix missing humanize_timedelta import.
* style
* Two things from my very old pending review, see commit desc
```py
valid_alias_list = [
af
for a in aliases
if (af := f"{a}")
and len(af) < 500
and ((a_counter + len(af)) < 500)
and (a_counter := a_counter + len(af))
]
```
^ This can be simplified:
```suggestion
valid_alias_list = [
alias
for alias in aliases
if (a_counter := a_counter + len(alias)) < 500
]
```
Although I think it would be somewhat clearer to use a `for` loop rather than a list comprehension (+ we can just `break` when there's not gonna be another alias that could fit in the list since it's sorted):
```suggestion
valid_alias_list = []
for alias in aliases:
if (a_counter := a_counter + len(alias)) < 500:
valid_alias_list.append(alias)
else:
break
```
* style *again*
* use qualified name of the parent command
* meh
* another meh
* Revert the last commit...
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Update hostlist
My first pr??
* Rephrase of unsupported warning
Exact reason for lack of container support added. Information about docker support added in case someone finds that repo and tries it.
* Remove azure from free list
Later found unreasonable to include it due to the 750 hours being spread across the entire year, ends up less than 24 hours a week.
* Oops
Fixed something that caused docs build to error
* Removal of extra space
Fix of spelling error noticed during review
Co-authored-by: bobloy <alboblexloy@gmail.com>
* Fix capitalization error
Idk if this was really necessary, but oh well
* Rephrase free tier note
* Rephrase docker warning
* Small changes
Added galaxygate and ramnode, removed contabo, rephrased a few things, added voice region tip.
* Small fix
Just realized i accidentailly removed Contabo
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update docs/host-list.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
Co-authored-by: bobloy <alboblexloy@gmail.com>
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Red 3.4.4 - Changelog
* Fix my failures
* Flame is a person too
* Apply suggestions from code review
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* Update changelog_3_4_0.rst
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
* [Streams] Remove the blank suppression of errors
* Okay, maybe do gracefully handle it a little bit...
* Update redbot/cogs/streams/streams.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* update image
* MAXIMISE THE QUALITY
* add storage driver as JSON (#3935)
* fk
* REEEE
how am i faling to use git so much
* rich!
* make image width 696 pixels so it doesn't scale
* Pop stash
* add rich to setup
* Added forceful enabling of rich logging
* revert some unintended pushed
* Fix possible unbound var
Fix possible 0 members w/out members intent
* One day I won't forget to do style passes
* So this is a thing apperently...
* Bump rich to 9.5.1
* Lock secondary deps
* Different stuff, see the full commit description for more info
- Change few things from print to log.info
- put the log handlers on the root logger instead of individual loggers
- capture warnings to a logger
* Modify log handler to show logger name
* Add a Triboolian to force disable rich
* Style checks
* shortened time, added logger name... again.
* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
* Style & linking
* Be or not to be? Whatever man, it's 4:30 in the morning, goto sleep >.<
* Reintroduce outdated message.
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update CodeQL to resolve warnings.
* Make CodeQL analyze our Python dependencies
* `fetch-depth` should be no longer needed
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* [Mod] Check for reason length & remove unused vars
This PR also remove unused variable.
* Blame me
* Apply Kowlin order.
Text will get truncate in audit logs in case we're going over 512 characters.
* This is already handled by ban_user()
* Use `get_audit_reason()` in `[p]tempban`
* Add a new kwarg to `get_audit_reason()` instead
* Include `[p]voiceban` and `[p]voiceunban`
* Include Mutes cog
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Make command usage in help for required arguments consistent
* Bob 3
* Bob 1
* Docstring updates
* Address Flame's review
* Update cog guides in docs