Rapptz
de6cffa347
Try to build HTML5 for docs.
8 years ago
Rapptz
95c28f08e4
Fix sorting for channels.
8 years ago
Jake
3e00e7fe8a
[guild] use a defaultdict in by_category
8 years ago
Giovani Irimea
06296bfaf6
Changed README from using Markdown to use reStructuredText
8 years ago
rooni
415ca9a774
Add webhook.url
8 years ago
Rapptz
025136076a
Add an example for on_reaction_add waiting.
Apparently people would rather read examples than the actual
documentation.
8 years ago
Rapptz
5e913b265b
Change how coroutines are detected internally.
8 years ago
Rapptz
305cc3acfa
Clarify VoiceClient.disconnect docs a little more.
8 years ago
Harmon
91e2163523
Fix typo in http.create_channel
8 years ago
Rapptz
7b2e06c263
Fix error when creating guild channels.
8 years ago
Rapptz
e614f6b4cd
[commands] Add CategoryChannelConverter
8 years ago
Rapptz
7df8897e3d
Add Guild.create_category.
An alias, Guild.create_category_channel is provided.
8 years ago
Steve C
233c2d80ef
Fix grammar in abc docs, add new implementation
8 years ago
Rapptz
53b4890435
Add category support.
This adds:
* CategoryChannel, which represents a category
* Guild.by_category() which traverses the channels grouping by category
* Guild.categories to get a list of categories
* abc.GuildChannel.category to get the category a channel belongs to
* sync_permissions keyword argument to abc.GuildChannel.edit to sync
permissions with a pre-existing or new category
* category keyword argument to abc.GuildChannel.edit to move a channel
to a category
8 years ago
Rapptz
e24914be0b
[commands] Fix NameError when given an invalid prefix.
Closes #775
8 years ago
Rapptz
3cd1fdc1eb
Document new features for guilds.
8 years ago
Rapptz
1367877d36
Fix crashing for now when a category is created.
A full implementation will come later.
8 years ago
Rapptz
8912625428
Fix docstrings for Webhook.send
8 years ago
Rapptz
4564b46f95
Quick start example doesn't respond to ourselves.
8 years ago
Rapptz
21fd94a449
Attempt to change how member functions are detected for Member objects
8 years ago
Rapptz
dcde896e14
Fix __hash__ for Invite objects.
8 years ago
Nick
4db76c6c6b
Switched places of user and reaction in wait_for example
8 years ago
ReinaSakuraba
12a371bfb8
[commands] Add MissingPermissions and BotMissingPermissions
8 years ago
ReinaSakuraba
10696a275b
[commands] Have (bot_)has_permissions provide better failure responses
8 years ago
ReinaSakuraba
8646bddc90
[commands] Add MissingPermissions and BotMissingPermissions
8 years ago
Rapptz
63bca6604b
Manually format reason parameter for kick and ban.
Related to: https://github.com/aio-libs/aiohttp/issues/2235
8 years ago
Rapptz
ede1771960
Fix utils.get example.
8 years ago
Rapptz
62df23633a
Sort roles by hierarchy instead of by ID.
Fixes #741
8 years ago
Steve C
221df0ab02
Update embed property doc grammar
8 years ago
Rapptz
63fcfa6d02
[commands] Add CooldownMapping.from_cooldown factory classmethod.
8 years ago
Rapptz
1c967e9a7c
[commands] Export cooldown classes as well.
8 years ago
Steve C
4d421377e4
Fix on_guild_join param doc
8 years ago
Steve C
5e2d915375
Add pinning to manage_messages doc
8 years ago
Rapptz
94e2c0e661
Add upload from URL to the FAQ.
8 years ago
Rapptz
99bd595f5e
Rename webhook parameters to payload to avoid shadowing.
The old names clashed with the `json` module.
8 years ago
Rapptz
e7d3085445
Webhook URLs can have dashes and underscores.
8 years ago
Ethan
7ee63a26f0
Fix docstring
8 years ago
Steve C
7ee5dc22fb
Fix a couple docstrings
8 years ago
Rapptz
8eb6fa0329
Fix multi-part sending with aiohttp in webhooks.
8 years ago
Rapptz
754f3a2ae9
Don't make session a keyword only argument.
8 years ago
Rapptz
84f38b166e
Add atomic keyword argument for member role editing operations.
This affects:
* Member.add_roles
* Member.remove_roles
This is the main attempt of fixing long standing bugs like #56 . Since
cache consistency is too hard to ask for due to eventual consistency
and this generally being one of the only main roadblocks that the
cache ruins, it's best to just implement it in terms of the atomic
endpoint instead.
Fixes #56
8 years ago
Rapptz
e5ebea75a9
Lazily fetch Emoji.roles and Emoji.guild to prevent memory leaks.
The global emoji cache still managed to somehow cause memory leaks. By
storing IDs directly and lazily evaluating them when needed this
essentially removes all strong references to Guild objects which would
cause an explosion in memory usage.
8 years ago
Rapptz
f1e59ea933
Game objects are really dumb.
8 years ago
Rapptz
b5d987347a
Fix some docstrings.
8 years ago
Rapptz
310cb05040
Fix Webhook.execute alias.
8 years ago
Rapptz
37b0fdb898
Add webhook support.
Allows for usage of either `requests` and `aiohttp` when used in
"Standalone" mode.
Fixes #704
8 years ago
Rapptz
deaba1f5ab
Use time.monotonic instead of time.time for heartbeat code.
8 years ago
Rapptz
1c60f9ccf4
Consume remaining keyword arguments in Game constructor.
8 years ago
Rapptz
9a0e9b0494
Update system_content strings for MessageType.new_member.
8 years ago
Rapptz
3b3b8a5150
Remove incorrect extraneous usage of reason keyword argument.
Fixes #726
8 years ago