Rapptz
ec6c7f8b34
Fix handling of author update and missing type attribute in Message.
8 years ago
Rapptz
4e175d36d3
Add delete_after parameter to MessageChannel.send
8 years ago
Rapptz
20ddc9f14f
[commands] Remove send_ utility functions.
8 years ago
Rapptz
406984af2e
[commands] First pass in making commands ext work again.
8 years ago
Rapptz
9c000c5a72
Fix documentation to work.
8 years ago
Rapptz
79a49f9145
Absolute import some circular dependencies to appease Python 3.4.
8 years ago
Rapptz
a1c81419b7
Rename MessageChannel.send_message to send and unify interface.
This removes MessageChannel.upload.
8 years ago
Rapptz
30394d03f2
Remove no longer used functions in Client.
8 years ago
Rapptz
802f6c91d4
Add Message.clear_reactions
8 years ago
Rapptz
2c50c18ca3
Change dict value views into lists.
9 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
5cb3ad14e8
Make emojis and members stateful.
9 years ago
Rapptz
a7a60e433b
Make roles and guilds stateful.
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
1070cf0735
Add MessageChannel.typing context manager for prolonged typing.
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
20251c54a7
[commands] Bot skip check now works with the new __eq__ changes.
9 years ago
Rapptz
e4b16851bf
Slots use tuples instead now.
9 years ago
Rapptz
b9dafe375f
Add some basic ABCs.
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
31229a53e9
Optimise VoiceState for memory.
Instead of storing one VoiceState per Member, only store them if
necessary. This should bring down the number of instances
significantly.
9 years ago
Rapptz
044b0824e6
Begin working on the rewrite.
9 years ago
Kyle Repinski
643950abf8
Add ability to set opus encoder input signal type.
8 years ago
PapyrusThePlant
31cd9ad37a
[commands] Bugfix on the teardown function call.
8 years ago
Rapptz
a8264f6540
Chunk every guild if it's a user bot.
This also increases the timeout for chunking by 30 seconds for every
chunk we're waiting for.
8 years ago
Rapptz
4d59bca4aa
Support animated avatars in User.avatar_url.
8 years ago
Rapptz
bed2e90e82
Properly propagate loop. Fixes #420 .
8 years ago
Rapptz
5731f3405d
Version bump to v0.16.0.
8 years ago
Rapptz
00e30f3106
[commands] Shield against dictionary resize in Bot.close
8 years ago
Rapptz
fc1a7183a0
[commands] Unload all cogs when gracefully exiting bot.
8 years ago
Rapptz
b8909ae389
[commands] Properly propagate CommandError derived exceptions.
If a command or a group raised a CommandError derived exception it
would be wrapped into CommandInvokeError. This fixes this case so it
raises the original exception instead.
8 years ago
Rapptz
6d88024f0f
[commands] Add special extension function 'teardown' for clean-up.
This is to support people who want to clean up some external resource
that the extension is maintaining outside of a cog, where __unload
should be used instead.
The callable is the antipode of 'setup' and takes the same sole
parameter, the bot, after all commands, events, and cogs have been
unloaded.
Fixes #405 .
8 years ago
Rapptz
bafaf72c89
[commands] Unload all extensions when gracefully closing bot.
8 years ago
Rapptz
c7946606f4
Add Channel.overwrites to get a channel's permission overwrites.
Fixes #414 .
8 years ago
Rapptz
6302ef8094
Add support for partnered servers. Fixes #387 .
This commit allows you to edit a server's invite splash, query if
something has partnered features, and retrieve the invite splash + URL.
8 years ago
Rapptz
a0f4ad36eb
Timeout waiting for chunking.
Sometimes the bot would keep waiting for chunks that somehow finished
before getting to the `wait` call. This is more so a temporary fix
rather than a fully correct one.
8 years ago
Rapptz
6306fc08db
Discard null sequences in the gateway.
This was forbidding the Discord gateway from allowing us to RESUME
properly, causing an over-abundance of READY being called.
8 years ago
khazhyk
b1117262da
[commands] Run global checks in help formatter.
Help formatter was not checking global bot-level checks, resulting in
showing commands a user did not have permission for with
show_check_failure disabled.
8 years ago
Rapptz
51fda76555
Fix typo in wait_for_reaction documentation.
8 years ago
Rapptz
b7c90a5e3d
Fix role comparisons.
Fixes #409
8 years ago
Rapptz
14a1bbceda
Make FAQ use change_presence instead of change_status.
8 years ago
Rapptz
64733c0b19
Version bump to v0.15.1
8 years ago
khazhyk
c8fd8a9e1a
Fix crash on duplicate or out of order reactions.
Eventual consistency ftw
8 years ago
Rapptz
59d17e4137
Version bump to v0.15.0
8 years ago
Rapptz
6f2603c049
[commands] Remove slots on Context.
This is to allow people to set temporary local variables by injecting
them directly into the context via some decorator or some other
mechanism. Contexts are not kept alive long enough to warrant being
slotted.
8 years ago