Rapptz
13a3f760e6
Fix timeout issues with fetching members via query_members
This uses the nonce field to properly disambiguate queries. There's
also some redesigning going on behind the scenes and minor clean-up.
Originally I planned on working on this more to account for the more
widespread chunking changes planned for gateway v7 but I realized that
this would indiscriminately slow down everyone else who isn't planning
on working with intents for now.
I will work on the larger chunking changes in the future, should time
allow for it.
5 years ago
Anurag Singh
5769511779
allow passing color int to role.edit
5 years ago
Saphielle Akiyama
1e9937a234
Aliases passed as a list or as a tuple
Nothing too important, felt like some people would appreciate it;
5 years ago
Steve C
128c9f4eb8
Use GuildChannel abc for CategoryChannel edit
I noticed nothing happened when I did
`ch.edit(overwrites=oh.overwrites)`
`http.edit_channel` doesn't do anything with the `overwrites` keyword,
it's processed as `permission_overwrites` instead which `self._edit`
takes care of.
I feel this was an oversight at some point.
5 years ago
Steve C
4b3a7fbe16
[tasks] Allow Loop.cancel in Loop.before_loop
Task cancel raises on the next awaited coro, so I've added this 0-sleep "hack"
I'm internally debating if leaving the comment there, but I'm sure it would confuse the uninformed of this trick.
5 years ago
jack1142
4f96e3b9a5
Add support server as contact link in issue templates
5 years ago
Xua
4e6942194f
[commands] Document that cog_command_error must be async
5 years ago
StarrFox
6e8d538f09
add support for allowed_mentions with message edit
5 years ago
jack1142
fbb7add01a
Specify the unit for `max_age` arg in `GuildChannel.create_invite()`
5 years ago
jack1142
79276da17e
Escape backslashes in display name in `clean_prefix`
5 years ago
Steve C
0fd5eca0d5
[tasks] Fix tasks decorators being discarded
At this moment, when a task seems to be first loaded, it immediately throws away the decorators you give it, and just generates a new instance of itself.
In your cog's `__init__`, once you do `self.my_task.start()`, the Loop is remade when it gets to `self.my_task` before executing the `start` function. The original Loop that the cog starts with is where the decorated values are. This fixes that.
5 years ago
iomintz
559c464d3b
fix HTTPException explanation in Guild.fetch_member docs
5 years ago
Xua
5107583c5d
fix NotificationLevel being suppressed
5 years ago
kittenswolf
6decfd1d1a
Fix colour properties being displayed as methods in the documentation.
5 years ago
unknown
b7c7c86a6b
Add roles parameter for pruning members.
5 years ago
Rapptz
1f73e18bc6
Make use_cached keyword only
5 years ago
Riley Shaw
75d3c4f6cf
allow passing EmptyEmbed to set_image and set_thumbnail
5 years ago
Josh
c424d82f74
Add versionadded to Attachment.to_file use_cached param
5 years ago
Io Mintz
a8baf0c9f0
flags: support accessing flag value instances on the class
Fixes #4023
5 years ago
Rapptz
e473f3c775
Convert id parameter of Object into int or raise TypeError on failure
This prevents breakage for users who pass in a str as an ID whereas
it previously worked.
Fix #4002
5 years ago
Rapptz
0d5e6e213c
Decrement Guild.member_count even if member is not cached
Fix #4021
5 years ago
hamza1311
0a24e3716e
Allow HistoryIterator to take limit of 1 even when around is passed
5 years ago
apple502j
14f80fce45
Fix PartialEmoji.url.read for reactions
5 years ago
Rapptz
9f47d7f71c
Fix cases where member_count is equal to 0
Fixes #4008 , #4005
5 years ago
Rapptz
540a88b762
[tasks] Replace stack-based implementation with a cleaner one.
5 years ago
Rapptz
d5211fb327
[tasks] Create different Loop objects for different instances
Fixes #2294
5 years ago
Rapptz
11211d48eb
Bump blocking threshold from 5 seconds to 10 seconds
5 years ago
Rapptz
d6be6adf8b
Add traceback to debug blocking issues
5 years ago
chickenmatty
0cef8c1f60
Remove from the FAQ that there's no event for invites being created
5 years ago
Arthur
ad87bfb395
Guild.owner may be None for very large guilds.
5 years ago
Austin Lasher
032a866fec
Fix an FFmpegOpusAudio documentation detail, and some capitalization
5 years ago
jack1142
91a8044497
Update copyright year for documentation
5 years ago
Kowlin
08e20910e6
Edit message publish documentation
5 years ago
apple502j
6d0db182b9
Add new alias VerificationLevel.very_high
5 years ago
Rapptz
874c2cd3c9
[commands] Raise CheckFailure if all bot "check once" fail
Fix #2643
5 years ago
Rapptz
8874aa3dd2
Move log levels around to make INFO a little less noisy
5 years ago
Rapptz
9a52786aa9
Bump version for development
5 years ago
Rapptz
7433cf3b16
Fix VoiceClient.average_latency erroring when heartbeat is None
5 years ago
NCPlayz
c8f32f3151
animated key is never given to reaction_remove(_emoji)
5 years ago
Jake Ward
c782ac3254
Update documentation on guild features to reflect Discord changes
5 years ago
MarkKoz
2653ae7599
[commands] Stop yielding duplicate commands from walk_commands
5 years ago
Rapptz
8ff285fcbc
Documentation fixups for allowed mentions
5 years ago
Rapptz
d853a57e86
Rename allowed mention parameters to allowed_mentions
5 years ago
Rapptz
730d79d60a
Allow introspection and setting of global allowed mention configuration
5 years ago
Rapptz
481b335f2d
Fix various implementation bugs with allowed mentions
5 years ago
Rapptz
041785937e
Add support for configuring allowed mentions per message or bot wide.
5 years ago
Rapptz
6c764465c0
Fix regression with Member.activities not clearing
5 years ago
Ilya Lukyanov
d2cc8aa459
Add position argument to Guild.create_category
This way we can specify category position upon creation
5 years ago
Josh B
20854de080
Allow for optional custom error handler in tasks extension
5 years ago
Epic
18c52671a9
Remove extra to in tasks docs
5 years ago