Josh
1e471b64e6
[matrix] Refactor docs JS
...
* Refactor custom.js
* Refactor scorer.js
* tables variable shoudn't be in global scope
2020-05-27 00:56:38 -04:00
Nadir Chowdhury
509cc135d4
Add favicon
2020-05-26 23:18:42 -04:00
Rapptz
04cec0ec10
Use actual viewport tag with initial-scale set to 1
2020-05-26 07:04:58 -04:00
Jens Reidel
f2482d4fb3
Add fixed header links, fix some parts of mobile UI
...
Dynamic content width equal to old one if on 1080p
Fix mobile view
Disable fixed header on mobile
2020-05-25 22:37:01 -04:00
Rapptz
ccb4e0b6e7
Bump Sphinx to 3.0.3
2020-05-25 22:15:46 -04:00
Riley Shaw
3c558af0cb
make documentation sphinx 3.x compatible
2020-05-25 21:39:59 -04:00
Rapptz
2eb9e3bc56
Move table JS outside of scrolling
2020-05-25 12:17:13 -04:00
Rapptz
de9a3b5f60
Bump Sphinx to 2.4.4
2020-05-25 11:55:13 -04:00
Rapptz
771c1c85d8
Add attributetable and add some class-level sections.
...
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-05-25 11:48:16 -04:00
Rapptz
1ee1b7feea
Consistent usage of RST inline code within Guild.features references
2020-05-23 22:05:59 -04:00
NCPlayz
ed80ba6a5e
Implement some missing attributes of Guild
(and Guild.edit
)
2020-05-23 22:04:02 -04:00
NCPlayz
40a4604604
use _channel_factory
instead of manual checking in Guild._sync
2020-05-23 21:56:40 -04:00
NCPlayz
f09162f259
isinstance(x, y) and isinstance(x, z) -> isinstance(x, (y, z))
2020-05-23 21:56:40 -04:00
매리
ddfed5a610
Change _handshaking variable when handshake terminate
2020-05-23 21:56:40 -04:00
Zomatree
a22d38d004
Add spoiler keyword argument to Attachment.to_file
2020-05-23 21:56:40 -04:00
apple502j
cb43e19bea
Fix TypeError in chunker
2020-05-23 21:56:27 -04:00
jack1142
a601cf43ab
Allow clearing the author information in embeds.
2020-05-23 21:47:25 -04:00
Rapptz
66c6be50d8
Prepare for the discord.com domain rename
2020-05-23 21:44:30 -04:00
Terrance
017591dc9e
player: Close ffmpeg stdin during streaming
...
A `stdin` of `None` means the ffmpeg subprocess input inherits from the
parent process, which may cause undesired control from a terminal (e.g.
`C` causes ffmpeg to prompt for a command). It also closes the parent's
stdin when the subprocess exits.
This commit switches to `subprocess.DEVNULL`, which provides a separate
pre-closed stdin for ffmpeg subprocesses.
2020-05-23 21:43:26 -04:00
iomintz
755ab28311
state: use bytes.hex() instead of binascii.hexlify().decode()
2020-05-10 20:07:22 -05:00
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.
2020-05-10 19:35:45 -04:00
Anurag Singh
5769511779
allow passing color int to role.edit
2020-05-10 19:35:45 -04:00
Saphielle Akiyama
1e9937a234
Aliases passed as a list or as a tuple
...
Nothing too important, felt like some people would appreciate it;
2020-05-10 17:02:56 -04:00
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.
2020-05-10 17:00:24 -04:00
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.
2020-05-10 17:00:23 -04:00
jack1142
4f96e3b9a5
Add support server as contact link in issue templates
2020-05-10 16:48:59 -04:00
Xua
4e6942194f
[commands] Document that cog_command_error must be async
2020-05-10 16:48:59 -04:00
StarrFox
6e8d538f09
add support for allowed_mentions with message edit
2020-05-10 16:48:31 -04:00
jack1142
fbb7add01a
Specify the unit for max_age
arg in GuildChannel.create_invite()
2020-05-07 02:30:24 -04:00
jack1142
79276da17e
Escape backslashes in display name in clean_prefix
2020-05-07 02:30:24 -04:00
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.
2020-05-07 02:30:24 -04:00
iomintz
559c464d3b
fix HTTPException explanation in Guild.fetch_member docs
2020-05-06 11:27:17 -05:00
Xua
5107583c5d
fix NotificationLevel being suppressed
2020-05-03 23:08:08 -04:00
kittenswolf
6decfd1d1a
Fix colour properties being displayed as methods in the documentation.
2020-05-03 15:40:13 -04:00
unknown
b7c7c86a6b
Add roles parameter for pruning members.
2020-05-03 15:39:52 -04:00
Rapptz
1f73e18bc6
Make use_cached keyword only
2020-05-03 01:58:52 -04:00
Riley Shaw
75d3c4f6cf
allow passing EmptyEmbed to set_image and set_thumbnail
2020-05-02 19:57:48 -04:00
Josh
c424d82f74
Add versionadded to Attachment.to_file use_cached param
2020-05-02 19:57:48 -04:00
Io Mintz
a8baf0c9f0
flags: support accessing flag value instances on the class
...
Fixes #4023
2020-04-20 14:59:58 -05:00
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
2020-04-19 18:33:03 -04:00
Rapptz
0d5e6e213c
Decrement Guild.member_count even if member is not cached
...
Fix #4021
2020-04-19 18:22:41 -04:00
hamza1311
0a24e3716e
Allow HistoryIterator to take limit of 1 even when around is passed
2020-04-19 18:19:11 -04:00
apple502j
14f80fce45
Fix PartialEmoji.url.read for reactions
2020-04-18 19:34:41 +09:00
Rapptz
9f47d7f71c
Fix cases where member_count is equal to 0
...
Fixes #4008 , #4005
2020-04-16 23:30:59 -04:00
Rapptz
540a88b762
[tasks] Replace stack-based implementation with a cleaner one.
2020-04-14 04:56:52 -04:00
Rapptz
d5211fb327
[tasks] Create different Loop objects for different instances
...
Fixes #2294
2020-04-14 04:35:49 -04:00
Rapptz
11211d48eb
Bump blocking threshold from 5 seconds to 10 seconds
2020-04-14 04:22:05 -04:00
Rapptz
d6be6adf8b
Add traceback to debug blocking issues
2020-04-14 04:21:20 -04:00
chickenmatty
0cef8c1f60
Remove from the FAQ that there's no event for invites being created
2020-04-14 03:24:46 -04:00
Arthur
ad87bfb395
Guild.owner may be None for very large guilds.
2020-04-14 03:24:46 -04:00