Jakub Kuczys
4a66c4910f
[3.4] docs: fix typos ( #5989 ) ( #6073 )
...
Co-authored-by: Lioness100 <jchickmm2@gmail.com >
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com >
2023-04-19 22:33:20 +00:00
Red-GitHubBot
4331004dc1
[3.4] fix possible issue when joined_at is None ( #5361 ) ( #5365 )
...
(cherry picked from commit b4037a80d8 )
Co-authored-by: Fixator10 <github@fixator10.ru >
Co-authored-by: Fixator10 <github@fixator10.ru >
2021-10-02 17:13:25 +00:00
Red-GitHubBot
df19bfe679
[3.4] Improve and add more usage of discord timestamps ( #5241 ) ( #5292 )
...
* Improve and add more usage of discord timestamps
* How did that whitespace get there?
(cherry picked from commit a0a433b13d )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:35:27 +02:00
Red-GitHubBot
05582c8636
[3.4] [Mod] Add user hierarchy check to [p]rename ( #5211 ) ( #5287 )
...
* added hierarchy check for rename
added hierarchy check for rename from utils
* format and self check
changed formats and added statement if me != member
* black format
apply black formatting and fix typo
* tox style
tox i guess
* tox again
:<
* Update redbot/cogs/mod/names.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Fix styling
(cherry picked from commit 8880251749 )
Co-authored-by: Enul <xchedeiklo@gmail.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Enul <xchedeiklo@gmail.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:19:56 +02:00
Red-GitHubBot
a95d65c316
[3.4] Initial support for Discord timestamping ( #5155 ) ( #5271 )
...
* Initial support for Discord timestamping
* Fix timezones
* Fix userinfo for users with member.joined_at equal to None
* Simplify
(cherry picked from commit f05debc923 )
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 21:45:10 +02:00
Kreusada
410b2419dd
[Docs] Mod Cog Guide ( #4886 )
...
* Initial commit
* Add some args
* bool prolog
* index
* Add more arguments
* more arguments, style fixes
* improve naming of arguments
* Fix up backlog
* Run black
* extra corrections from backlog
* Update tempban arg names
* backlog
* change prolog type
* Change kick argument prolog to member instead of user
* Update argument names
* missed a colon
* Update prolog to be friendly with non-positional args
* Edit through the decorator instead
* Add back docstring spacing
* black
* usage in decorator for name commands
* Fix command signature
* fixup docstring spacing
* style fixes
* Add spacing inside unban docstring
* Rename args instead of using usage
* black - simple
* Add labeler glob
* unify style
* rename variables instead of usage
* Update docstrings correspondingly
* run black
* update description in usage
* ehh this isn't necessary...
* fix up tags
* fix grammar and accuracy issues
* fix docstring too
2021-05-18 17:10:30 -04:00
MAX
1747d901d1
[Mod] Support competing status in [p]userinfo command ( #4611 )
...
* Competing in userinfo
* Update names.py
* Update names.py
2020-11-16 17:25:41 +01:00
Stonedestroyer
08bd0567ad
Grammar fixes ( #4500 )
...
* Grammar fixes
* More changes
* Grammar
* Error grammar
* Spelling
* Grammar
* REsolves grammar
* grammar
* grammar
* grammar
* grammar
* grammar
* grammar
* grammar
* grammar
* "commited" > "committed"
* apostrophe
* more grammar
* grammar
* `funtion` to `function`
* grammar in alias cog
* grammar in cleanup cog
* grammar in customcom cog
* grammar in mod cog
* grammar in reports cog
* fix grammar in streams cog
* missing apostrophe
* grammar fix in trivia cog
Co-authored-by: Jyu Viole Grace <24418520+thisisjvgrace@users.noreply.github.com >
Co-authored-by: Jyu Viole Grace <thisisjvgrace@users.noreply.github.com >
2020-10-18 08:52:56 +01:00
Dav
d7da0b4081
[Mod] Pluralize properly in userinfo ( #4397 )
...
* Pluralize properly in userinfo
* black
* totally didn't forget roles
* Almost seems like you have a point there...
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Yes... right... this one too
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Yes, yes we do.
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2020-09-21 00:39:44 +02:00
jack1142
01a6ef3a8f
Add variation selector-16 as appropriate to emojis across Red ( #4127 )
2020-08-10 03:05:57 +02:00
PredaaA
51f7d6cea2
Show default avatars in [p]userinfo when no avatar is set ( #3819 )
2020-05-07 02:37:06 +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
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
Michael H
4f1f49d96f
[Modlog] userinfo stops breaking with high numbers of roles on a user ( #2971 )
...
* Fixes it, I guess
* changelog
* reluctant handling of what the people want here
* mypy would have prevented this one
2019-09-02 09:38:19 -04:00
PredaaA
03fe3ee720
[i18n] Fix some missing i18n strings in the whole bot ( #2633 )
2019-06-30 01:13:53 +10:00
kennnyshiwa
52f5d5cd6a
[Mod] add role mentions to userinfo and reverse role sorting ( #2759 )
...
* add role mentions to userinfo and reverse role sorting
This small PR adds the role mentions to userinfo and reverses the sorting so that the top most role of a user is at the left of the embed
* Remove sorting as it's handled by d.py
2019-06-24 02:39:03 -04:00
Neuro Assassin
c5d2ae5831
Mention voice channel in [p]userinfo ( #2680 )
...
* Mention voice channels, due to new discord update
* Add ID part back in, as Discord doesn't have copy ID for it yet
2019-05-16 15:12:09 +02:00
Fixator10
3a62d392b4
[Mod] [p]names utilize consume-rest ( #2675 )
...
Currently, `[p]names` requires quotes, if "user" arg contains spaces
2019-05-15 10:33:10 -04:00
Michael H
c7608aeb17
[V3 Mod] Use a composite class for mod ( #2501 )
...
* [V3 Mod] Use a composite class for mod
This turns mod.py into acomposite class
I've split things in this up based on purpose, including `movetocore`
`movetocore` is a set of things which likely belong in the core bot and
not relying on mod being loaded.
This is part of #2500
Per discussion in discord, this should be the first thing in #2500
merged
* Move this back,
mod was importable,
and this was intended as non-breaking
* Prevent fix from being lost if merged before this.
see Cog-Creators/Red-DiscordBot#2510
* Move case creation to before sending
see #2515
* fix failed merge done in web
2019-04-01 03:34:27 -08:00