Commit Graph
2432 Commits
Author SHA1 Message Date
David f6c8bfdf0d Clarify ClientUser.verified docs 2021-05-01 10:33:01 -04:00
MrKomodoDragon 5e7357efa5 Fix grammar in the Guild.edit docstring 2021-05-01 10:31:44 -04:00
pikaninja 318166d875 [docs] Update notes for get_user and get_member 2021-05-01 10:31:27 -04:00
jack1142 ccf7e65c50 Fix documentation for RoleConverter 2021-05-01 10:30:27 -04:00
Kino eb1d03f8f7 Fix typo within HelpCommand.verify_checks documentation 2021-05-01 10:30:02 -04:00
Nadir Chowdhury 5b98ce1235 [docs] fix docstring of AppInfo 2021-05-01 10:29:31 -04:00
Cryptex 06184dc25f Update lavalink's repo url 2021-05-01 10:28:28 -04:00
Steve C a9dba2753f [tasks] Move the Loop's sleep to be before exit conditions
This change makes it more so that `Loop.stop()` gracefully makes the
current iteration the final one, by waiting AND THEN returning.
The current implementation is closer to `cancel`, while also not.

I encountered this because I was trying to run a
`@tasks.loop(count=1)`, and inside it I print some text and change the
interval, and in an `after_loop`, I restart the loop.

Without this change, it immediately floods my console, due to
not waiting before executing `after_loop`.
2021-05-01 10:28:00 -04:00
NoName 87dd046c32 Add periods to sticker docs 2021-05-01 10:27:12 -04:00
Nadir Chowdhury 7d37c3a506 [docs] Fix various unresolved references 2021-05-01 10:26:11 -04:00
Steve C 4d47436b02 Fix guild.chunk() not working on evicted guilds
If you're trying to chunk a guild that the bot is not in, 
it'll just hang on the chunk coro forever. It's weird, I know.
2021-05-01 10:24:40 -04:00
numbermaniac f50877c9b8 Add note to member docs about Spotify limitation 2021-05-01 10:24:07 -04:00
Maya afca943f16 Fix exception for invalid channel types 2021-05-01 10:22:49 -04:00
Dan Hess 81e3f58f43 Fix async adapter detection in message deletion 2021-04-29 19:21:33 -04:00
Rapptz f1130e4985 Fix fail_if_not_exists not being set when constructed with state 2021-04-15 09:00:51 -04:00
pikaninja 187b811836 Add StageChannel to abc.GuildChannel docs 2021-04-15 09:00:09 -04:00
Kino ff04cab119 [docs] Fix reference to Guild.id 2021-04-15 09:00:09 -04:00
Rapptz 65205a8e39 Fix Intents resolution in the docs 2021-04-15 09:00:09 -04:00
Sebastian Law 0d1cf57f62 [docs] add note for possible Embed.type strings 2021-04-15 08:57:25 -04:00
Rapptz 8517f1e085 Version bump to v1.7.1 2021-04-05 21:21:41 -04:00
Logan 56faa98e4b Fix versionadded not showing in docs for Attachment.content_type 2021-04-05 21:10:55 -04:00
Rapptz 1b2c527fc7 [commands] Fix logic in Cog.has_error_handler() 2021-04-05 21:08:54 -04:00
Rapptz 757dd92272 Version bump to v1.7 2021-04-04 00:54:10 -04:00
Zomatree f8d7be5b78 Add content_type to Attachment 2021-04-03 23:26:28 -04:00
Rapptz efc30a146e Guard for None in VocalGuildChannel.members 2021-04-03 23:08:03 -04:00
Rapptz 421c0cd455 [commands] Add missing versionadded on StoreChannelConverter 2021-04-03 22:54:21 -04:00
DoggieLicc 36318bd45c [commands] Add StoreChannelConverter 2021-04-03 22:50:17 -04:00
Nadir Chowdhury 1b2688518e Implement StageChannel and related methods 2021-04-03 22:43:41 -04:00
Nadir Chowdhury e8a9726ad2 [docs] Add rtc_region parameter for Guild.create_voice_channel 2021-04-02 20:10:31 -04:00
Tarek 6524869ddd Implement voice region changing for voice channels 2021-04-01 03:49:45 -04:00
Rapptz 3576e2ee01 Add support for Permissions.request_to_speak 2021-04-01 00:53:07 -04:00
Nadir Chowdhury 6887d3946a [docs] Fix fetch_members/guilds documentation 2021-03-31 21:27:40 -04:00
apple502j 954dd09e18 Deprecate Client.logout 2021-03-31 07:30:41 -04:00
Rapptz 0c3be9713d Raise error if position could not be resolved in GuildChannel.move 2021-03-30 04:11:06 -04:00
Rapptz 7f0db1f35a Return early if no kwargs are given to GuildChannel.move 2021-03-30 03:54:58 -04:00
Rapptz a30ad6acf2 Ignore moving category channels to another category 2021-03-30 03:51:06 -04:00
Rapptz b850c9cd5d Add GuildChannel.move helper method to help with moving channels
Moving channels is seen as a complicated task, so hopefully this
abstracts a lot of it for users. There is no bulk move helper yet
since I'm unsure how the API for that should be.
2021-03-30 03:21:09 -04:00
Lilly Rose Berner f60e91d700 Add support for fail_if_not_exists in MessageReference 2021-03-30 00:26:17 -04:00
Sebastian Law d6501159e7 [docs] copy signature from overridden and inherited methods 2021-03-29 23:52:14 -04:00
Rapptz 862d509d2e [commands] Add support for stripping whitespace after the prefix
This is configured with the strip_after_prefix option in `Bot.__init__`
2021-03-28 21:21:09 -04:00
Rapptz c4c2cbf6d2 [commands] Remove nullability from help command implementation
Fixes #5154
2021-03-28 18:51:58 -04:00
Nadir Chowdhury 4d4c19f9b5 deprecate User.relationships 2021-03-28 18:39:15 -04:00
Edwin 31ee3fafc1 Add remove_markdown helper function 2021-03-28 18:38:34 -04:00
Rapptz 4aee7fed5d [commands] Only remove top level commands on cog load failure 2021-03-28 18:35:59 -04:00
Nihaal Sangha a4d29e8cfd Add scopes to utils.oauth_url 2021-03-28 06:33:24 -04:00
Mikey d61486278f [commands] allow arbitrary callables in cooldown 2021-03-28 06:31:51 -04:00
Maselkov baa1ab058b Add an optional seed parameter for Colour.random 2021-03-28 06:28:35 -04:00
Rapptz 8657edfc99 Fallback to empty string for unavailable guild __str__ 2021-03-25 09:11:00 -04:00
Rapptz 5cb5126548 Make Attachment hashable and castable to str 2021-03-25 09:08:22 -04:00
pikaninja 5a93e80e87 Implicitly cast Embed construction parameters to str 2021-03-24 23:13:57 -04:00