Tobotimus
3112e1c17e
Add intersphinx
7 years ago
Chkoupinator
b268d81649
Added a missing "to" in Message.raw_mentions documentation.
7 years ago
CloudNineK
0f56ce7c13
Fix typo in Message.embeds documentation.
7 years ago
Rapptz
da9828c41f
Use the proper endpoint for removing your own reaction.
7 years ago
Rapptz
9a0e9b0494
Update system_content strings for MessageType.new_member.
8 years ago
Rapptz
63231ef033
Remove reason keyword argument from message deletion.
Apparently this is unsupported.
Affected functions include:
* abc.Messageable.send
* Message.delete
* TextChannel.delete_messages
* TextChannel.purge
8 years ago
MysterialPy
adf99eb2cd
Add delete_after to 'edit'.
Allow for edited messages to be deleted after [float] seconds with optional parameter delete_after.
8 years ago
Rapptz
b3cad74442
Message content is Optional in Message.edit.
8 years ago
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
72780e7737
Actually expose Message.webhook_id.
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
Rapptz
fc0b90582d
Writing to files is 'wb' not 'rb'.
8 years ago
Rapptz
8d3279b291
Implement an Attachment model.
8 years ago
Rapptz
3727618b65
Kill remaining references to discord.Channel in documentation.
8 years ago
Rapptz
b44bba6ee6
First pass at documentation reform.
8 years ago
Rapptz
dff6bcc745
Add support for audit log reasons.
Most routes now have a 'reason' keyword argument.
8 years ago
Rapptz
d24c2a09b6
Change some format usage to use %-formatting.
Minor speed increase when we're not doing excessive attribute
access or any type of formatting.
8 years ago
Rapptz
b05d8790fc
Allow using Reaction objects while adding or removing reactions.
8 years ago
Rapptz
83649d7f0a
Support for new member message types.
8 years ago
Rapptz
1fc08bc5a2
Remove unused imports.
8 years ago
Rapptz
51b0baeb9d
Speed up message update handling.
Apparently, checking if something is not None and then calling it is
faster than having an identity function that will just return the
original value untransformed, such as a lambda or doing a str(str) call
8 years ago
Rapptz
c089aa199b
Remove Message.edited_timestamp in favour of Message.edited_at
8 years ago
Rapptz
9a1215e13b
Add support for message acking.
8 years ago
Rapptz
c8250d7cd5
Fix bug with Message.role_mentions always being empty.
8 years ago
Rapptz
926f01f0b6
Call message edit handlers after attempting to patch individual fields
8 years ago
Rapptz
3504de4635
Fix more places where server is used instead of guild in docstrings.
8 years ago
Rapptz
01c17704bc
Remove unused Message._handle_upgrades function.
8 years ago
Rapptz
b27fab09eb
Allow removing an embed in Message.edit
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
92dd519b1a
Remove _get_guild_id from Messageable ABC.
8 years ago
Rapptz
98b981848d
Move message creation to a factory method inside ConnectionState.
8 years ago
Rapptz
5e6bfecb07
Move away from StateContext and use ConnectionState directly.
8 years ago
Rapptz
dceba9d962
Add useful repr to all data classes.
8 years ago
Rapptz
ec6c7f8b34
Fix handling of author update and missing type attribute in Message.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
802f6c91d4
Add Message.clear_reactions
8 years ago
Rapptz
c205eb3528
Re-add support for embeds.
9 years ago
Rapptz
42891c3084
Make Message.embeds to be based on discord.Embed
9 years ago
Rapptz
c187d87dae
Re-add support for reactions.
We now store emojis in a global cache and make things like adding
and removing reactions part of the stateful Message class.
9 years ago
Rapptz
59a0df5f98
Rename try_insert_user to store_user
9 years ago
Rapptz
d1d54a468a
Rename Server to Guild everywhere.
9 years ago
Rapptz
f33eaa4a61
Stateful Message and remove Invite.xkcd since it is removed.
9 years ago
Rapptz
53ab263125
Split channel types.
This splits them into the following:
* DMChannel
* GroupChannel
* VoiceChannel
* TextChannel
This also makes the channels "stateful".
9 years ago
Rapptz
45c729b167
Switch IDs to use int instead of str
9 years ago
Rapptz
aa8a328f0a
Remove Message.timestamp and make Message.channel_mentions lazy.
Message.timestamp is replaced with Message.created_at. This commit
also affects how MESSAGE_UPDATE is handled by only assuming that two
keys are provided rather than overwriting data with missing keys.
9 years ago
Rapptz
044b0824e6
Begin working on the rewrite.
9 years ago
khazhyk
4d87b2f817
Inject full Emoji to Reaction if we have it.
Reaction objects with custom Emoji are partial. If we know of this Emoji
(can find it on this client) then inject it. Otherwise, leave it as a
hollow Emoji. We can still react with a hollow Emoji, but can't get other
metadata about it.
9 years ago
khazhyk
c4acc0e1a1
Add support for reactions.
Reactions can be be standard emojis, or custom server emojis.
Adds
- add/remove_reaction
- get_reaction_users
- Messages have new field reactions
- new events - message_reaction_add, message_reaction_remove
- new permission - add_reactions
9 years ago
Rapptz
da986b2d7c
Support for pinned system messages.
9 years ago