Rapptz
8caa088d25
Allow PartialReactionEmoji in add_reaction and remove_reaction.
8 years ago
Rapptz
f607febaf7
Fix Message.remove_reaction and Message.add_reaction taking in Reaction
8 years ago
Rapptz
da6ced72c9
Bump requirements to aiohttp 2.2 and PyNaCl 1.1.2
8 years ago
Rapptz
0b9d402272
[commands] Improve commands.when_mentioned_or documentation.
8 years ago
Rapptz
867d918e30
Add when_mentioned and when_mentioned_or to the documentation.
8 years ago
Rapptz
25a1d8c300
Add support for user flags in Profile.
8 years ago
Rapptz
77f04539b1
Typo in docstring for TextChannel.delete_messages
8 years ago
Rapptz
51429f98e8
Fix typo in migrating page.
8 years ago
Rapptz
64cba11656
Allow TextChannel.delete_messages to take lists of 0 or 1 element.
8 years ago
Rapptz
ce34713c45
[commands] Do not take up 'command' keyword-argument in Context.invoke.
It was annoying when commands would have a keyword-only argument
named 'command', such as a help command or a disable command.
8 years ago
Rapptz
ad20e3066e
[commands] Add parameter that failed in fall-back BadArgument error.
8 years ago
Rapptz
649e4de149
Add Reaction.__str__
8 years ago
Rapptz
723e392c95
Properly sort roles and discard everyone role in Member.colour.
8 years ago
Rapptz
4ee90cd6e4
Fix missing lazy logging format calls.
Not sure how I missed these.
8 years ago
Rapptz
72780e7737
Actually expose Message.webhook_id.
8 years ago
Rapptz
3618f51f97
[commands] Ensure that Context.command is the command in Command.can_run
Previously, Context.command was not guaranteed to be the actual command
being checked if it can run. This could be troublesome when
implementing help commands or when using the default help command.
This new change allows at least for the guarantee that Context.command
to be technically correct in Command.can_run.
8 years ago
Rapptz
c23ef9e8a4
[commands] Add __global_check_once to list of cog functions.
8 years ago
Rapptz
717f11d635
[commands] Add Bot.check_once for a global check that is called once.
There is a counterpart for this in cogs, called __global_check_once.
This allows for predicates that would filter a command globally that
do not necessarily require rechecking in the case of e.g. the help
command such as blocking users or blocking channels.
8 years ago
Rapptz
06c99533de
Fix passing None to afk_channel in Guild.edit.
8 years ago
Rapptz
7d001ef46e
[commands] Try to use the proper name when conversion fails.
8 years ago
Rapptz
851d4ce22a
Properly quote reason header so non-ASCII works in audit log reasons.
8 years ago
Rapptz
15edfc2b26
Make checking for truth-ness of EmbedProxy easier.
8 years ago
Rapptz
e62e2c7cc6
[commands] Fix cog error detection in the default global error handler.
8 years ago
Rapptz
7d6435fa9c
[commands] Don't display default error handler if a cog local exists.
8 years ago
Rapptz
efe8fbf6ed
Fix format string in documentation.
8 years ago
Rapptz
c1dad43f9d
Downgrade PartialReactionEmoji to str in non-raw reaction events.
8 years ago
Rapptz
b06899e7d4
Defer logging formatting until the logger is actually called.
This would cause unnecessary format calls even if you didn't have
logging enabled.
8 years ago
Rapptz
d239cc2666
Implement "partial" message events.
These are events that get triggered regardless of the state of the
message cache. Useful for getting data from before the bot was booted.
8 years ago
BeatButton
1be119cd45
Allow sending files list smaller than 2 elements in Messageable.send
The previous restriction was unwarranted.
8 years ago
Rapptz
0f7c1e09b0
Fix mixed order in migrating docs.
8 years ago
Rapptz
83dc93559c
[commands] Add docstrings for extension loading.
8 years ago
Rapptz
1cf50f8054
Fix AuditLogDiff.__iter__ to return an actual iterable.
Fixes #589 .
8 years ago
Rapptz
6135d4cd45
Fix typing/history showing up twice in the documentation.
8 years ago
Rapptz
bef636e1e3
Fix mistake in migrating docs.
8 years ago
Rapptz
daf066dd39
Log when a player's after function fails.
8 years ago
Rapptz
a18267ca49
Fix FAQ to showcase that there is a single parameter, the error.
8 years ago
Rapptz
5e6491c3fe
[commands] Allow inline advanced converters via classmethods.
That way you don't need to have, e.g. Foo and FooConverter and can
do it inline via Foo instead.
8 years ago
Rapptz
d85e479be6
Minor fix in migrating page.
8 years ago
Rapptz
fb7689f8ea
Add some margin for supported operations sections.
8 years ago
Rapptz
3330a19f35
Support for sending a nonce.
8 years ago
Rapptz
b13d437bb9
Don't assume the inviter is always there.
8 years ago
Rapptz
95451c35e7
Document Message.embeds and Message.attachments changes.
8 years ago
Rapptz
fc0b90582d
Writing to files is 'wb' not 'rb'.
8 years ago
Rapptz
af58e45e14
Export Attachment class.
8 years ago
Rapptz
8d3279b291
Implement an Attachment model.
8 years ago
Rapptz
d21fb780fd
Remove unused functions in HTTPClient.
8 years ago
Rapptz
b2cf11fe9d
[commands] Add escape_markdown parameter for clean_content.
8 years ago
Rapptz
34815a43f4
Permissions.view_audit_logs -> Permissions.view_audit_log
8 years ago
Rapptz
83f86f902a
Rename verification level to extreme due to demand.
8 years ago
Rapptz
ee3c77353f
Add highest verification level.
8 years ago