Commit Graph
100 Commits
Author SHA1 Message Date
Nadir ChowdhuryandGitHub 2d597e310b Fix Interaction.channel being None in threads 2021-07-01 07:49:44 -04:00
Nadir ChowdhuryandGitHub abac04b759 Fix link buttons not being regarded as persistent 2021-06-29 20:03:50 -04:00
Nadir ChowdhuryandGitHub 7d0bd7ed20 add persistent view in on_ready to avoid loop issues 2021-06-29 20:02:55 -04:00
Nadir ChowdhuryandGitHub f7b0ed7b12 Add ButtonStyle.gray alias 2021-06-28 00:01:13 -04:00
Nadir ChowdhuryandGitHub c2df574b2a Add audit log entries for stage instances 2021-06-09 08:09:05 -04:00
Nadir ChowdhuryandGitHub 94bbdc154c update types subpackage with latest docs 2021-06-07 23:20:47 -04:00
Nadir ChowdhuryandGitHub a7ae2eb1bb Add Guild.nsfw_level 2021-06-07 23:20:04 -04:00
Nadir ChowdhuryandGitHub ab6d592f8c Add support for integration create/update/delete events 2021-06-07 03:28:26 -04:00
Nadir ChowdhuryandGitHub 9f98a9a87f Implement StageInstance 2021-05-30 13:51:52 -04:00
Nadir ChowdhuryandGitHub f87eaa613d [docs] typo fix 2021-05-23 03:47:16 -04:00
Nadir ChowdhuryandGitHub 757cfad38f Type up **kwargs of various methods 2021-05-10 20:24:48 -04:00
Nadir ChowdhuryandGitHub 63974ec46d Add discovery_splash and community field to Guild.edit 2021-05-05 07:30:54 -04:00
Nadir ChowdhuryandGitHub e762f55847 Add fetch_invite with with_expiration 2021-05-01 07:46:16 -04:00
Nadir ChowdhuryandGitHub 51df7496db Add AuditLogChanges.rules_channel/public_updates_channel 2021-05-01 06:47:22 -04:00
Nadir ChowdhuryandGitHub b705173676 Add types for ApplicationCommandPermissions & co 2021-05-01 06:46:26 -04:00
Nadir ChowdhuryandGitHub cbbd31cc9f fix AttributeError in Sticker.image 2021-04-29 02:16:55 -04:00
Nadir ChowdhuryandGitHub c786a85a9b Add utils.MISSING 2021-04-29 01:58:36 -04:00
Nadir ChowdhuryandGitHub 1765cdffb1 Use Asset for AuditLogChanges and add more entries 2021-04-25 09:53:38 -04:00
Nadir ChowdhuryandGitHub 829c2d4a1a Add Activity.buttons 2021-04-24 00:27:47 -04:00
Nadir ChowdhuryandGitHub f4165755a9 Rename lingering _url Asset properties 2021-04-21 23:24:36 -04:00
Nadir ChowdhuryandGitHub 157801bc90 Add Template.is_dirty 2021-04-21 23:22:22 -04:00
Nadir ChowdhuryandGitHub 1d7f387122 [docs] stage_channels doc typo 2021-04-21 23:18:49 -04:00
Nadir ChowdhuryandGitHub 7bfb0f8133 [docs] fix docstring of AppInfo 2021-04-19 22:32:07 -04:00
Nadir ChowdhuryandGitHub 95777230b0 Add MessageType.guild_invite_reminder 2021-04-18 20:33:56 -04:00
Nadir ChowdhuryandGitHub 631a0b1e13 Add support for ApplicationFlags 2021-04-18 20:32:52 -04:00
Nadir ChowdhuryandGitHub 18badbc60f Add typing for utils.cached(_slot)_property 2021-04-18 07:56:38 -04:00
Nadir ChowdhuryandGitHub 821b6c61cb [docs] document inherited members on Asset 2021-04-17 23:40:13 -04:00
Nadir ChowdhuryandGitHub e4513f70ad activities is no longer nullable 2021-04-17 18:56:51 -04:00
Nadir ChowdhuryandGitHub 57dbb37a52 Add fetch_message for webhooks 2021-04-16 11:27:15 -04:00
Nadir ChowdhuryandGitHub b610998491 Remove Sticker.preview_image 2021-04-16 08:19:39 -04:00
Nadir ChowdhuryandGitHub 5dec62f4c0 [commands] Add a converter for discord.Object 2021-04-16 08:18:57 -04:00
Nadir ChowdhuryandGitHub d3ac191a67 Restrict snowflake regexes to 15-20 digits 2021-04-16 07:33:44 -04:00
Nadir ChowdhuryandGitHub 8f9819eb4c [docs] Fix various unresolved references 2021-04-15 22:41:41 -04:00
Nadir ChowdhuryandGitHub 5ea5f32479 [commands] Fix missing re import in Context 2021-04-15 08:04:24 -04:00
Nadir ChowdhuryandGitHub 7cbe942a64 Use v8 overwrite type when creating a channel 2021-04-11 15:16:52 -04:00
Nadir ChowdhuryandGitHub f1fac96e33 Remove private_channel_(delete/create) events 2021-04-11 15:13:23 -04:00
NCPlayzandRapptz 4c565e5299 add reply and application_command types 2021-04-11 00:39:13 -04:00
Nadir ChowdhuryandGitHub b20e92efd8 [docs] Fix references to Greedy 2021-04-10 14:59:09 -04:00
Nadir ChowdhuryandGitHub 353737239a [commands] Minimise code duplication in channel converters 2021-04-10 14:01:26 -04:00
Nadir ChowdhuryandGitHub 1efdef3ac3 Add typings for invites, templates, and bans 2021-04-10 02:55:10 -04:00
Nadir ChowdhuryandGitHub 3e92196a2b Add typings for audit logs, integrations, and webhooks 2021-04-10 02:53:24 -04:00
Nadir ChowdhuryandGitHub d4df44375b Add typings for models for guilds, activities, and voice 2021-04-08 09:32:26 -04:00
Nadir ChowdhuryandGitHub 0903ea949f Add typings for Message, Emoji, and Member 2021-04-08 01:51:42 -04:00
Nadir ChowdhuryandGitHub f8bea3bb05 Fix inaccuracies with AsyncIterator typings 2021-04-07 20:28:12 -04:00
Nadir ChowdhuryandGitHub 87e64dff06 Add typings for channels and PartialUser 2021-04-07 07:56:56 -04:00
Nadir ChowdhuryandGitHub 83fe98c20d Add typing for flags 2021-04-07 07:55:55 -04:00
Nadir ChowdhuryandGitHub a43ea5c550 Fix regression in Activity relying on try_enum 2021-04-07 07:17:04 -04:00
Nadir ChowdhuryandGitHub 89456022cf Add __all__ to remaining modules 2021-04-07 02:30:32 -04:00
Nadir ChowdhuryandGitHub 7f0a398c1e Use format_map instead of format for Route.url 2021-04-06 23:44:44 -04:00
Nadir ChowdhuryandGitHub 9f0c701a7a use typing.AsyncIterator for iterators 2021-04-06 23:26:31 -04:00
Nadir ChowdhuryandGitHub 7a34de1570 [commands] Use typing.get_type_hints to resolve ForwardRefs 2021-04-06 23:24:23 -04:00
Nadir ChowdhuryandGitHub 686a54eb10 Remove 3.6 check for loop.shutdown_asyncgens() 2021-04-05 20:31:45 -04:00
Nadir ChowdhuryandGitHub 2ff24a27b5 Use asyncio.create_task over asyncio.ensure_future 2021-04-05 20:31:03 -04:00
Nadir ChowdhuryandGitHub 7a7c4b4d62 Remove fail-safe for retrieving all tasks 2021-04-05 20:29:37 -04:00
Nadir ChowdhuryandGitHub e961fdeae0 Rework the reaction roles example 2021-04-03 22:52:11 -04:00
Nadir ChowdhuryandGitHub 1b2688518e Implement StageChannel and related methods 2021-04-03 22:43:41 -04:00
Nadir ChowdhuryandGitHub e8a9726ad2 [docs] Add rtc_region parameter for Guild.create_voice_channel 2021-04-02 20:10:31 -04:00
Nadir ChowdhuryandGitHub 6887d3946a [docs] Fix fetch_members/guilds documentation 2021-03-31 21:27:40 -04:00
Nadir ChowdhuryandGitHub 4d4c19f9b5 deprecate User.relationships 2021-03-28 18:39:15 -04:00
Nadir ChowdhuryandGitHub 8d66ced02c [docs] Conveter -> Converter 2021-03-24 08:18:11 -04:00
Nadir ChowdhuryandGitHub 7d345e8e4e remove trailing whitespace 2021-03-13 00:42:25 -05:00
Nadir ChowdhuryandGitHub d01500bccd Fix typo with guild_discovery_grace_period_final_warning 2021-03-02 06:45:24 -05:00
Nadir ChowdhuryandGitHub 31bbf7434b Allow AuditLogEntry to be Hashable 2021-03-01 08:55:53 -05:00
Nadir ChowdhuryandGitHub 63ec23bac2 Code optimisations and refactoring via Sourcery 2021-02-24 21:26:51 -05:00
Nadir ChowdhuryandGitHub e090ee4308 Fix NameError with invoked_parents 2021-02-24 21:15:10 -05:00
Nadir ChowdhuryandGitHub fb773dc1dd Add remaining template endpoints 2021-02-23 03:58:03 -05:00
Nadir ChowdhuryandGitHub 6f748e5da5 Add remaining v6 message types 2021-02-23 03:57:11 -05:00
Nadir ChowdhuryandGitHub 427e387a2f Deprecate non-bot methods 2021-02-23 03:36:37 -05:00
Nadir ChowdhuryandGitHub 6c08f3d344 Add "Secret" channel/emoji example 2021-02-21 00:16:37 -05:00
Nadir ChowdhuryandGitHub 59c11e71a2 Implement presences for Guild.query_members 2020-12-31 13:50:22 -05:00
Nadir ChowdhuryandGitHub 77ad238aa9 [matrix] Explicitly change colour of option 2020-12-19 05:36:43 -05:00
Nadir ChowdhuryandRapptz a04a410c8a [matrix] collapsible sidebar headings 2020-12-18 21:18:56 -05:00
ce0d0a20dd add copy codeblock button
Apply suggestions from code review

Co-authored-by: Danny <Rapptz@users.noreply.github.com>

Change to icon, change according to slice's review
2020-12-18 21:18:51 -05:00
Nadir ChowdhuryandRapptz 51f6787692 Add favicon 2020-12-18 21:18:50 -05:00
Nadir ChowdhuryandGitHub df3e5a15a6 [bug] call super constructor for CustomActivity to fix created_at 2020-11-28 03:17:05 -05:00
Nadir ChowdhuryandGitHub 6b803acde4 [chore] Remove redundant imports
This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1.
2020-11-28 03:16:49 -05:00
Nadir ChowdhuryandGitHub 0c69c99785 Fix UnboundLocalError for editing public_updates_channel 2020-11-28 03:16:28 -05:00
Nadir ChowdhuryandGitHub fa30386073 Fix discord.RoleTags resolution 2020-11-26 23:00:09 -05:00
Nadir ChowdhuryandGitHub 367c4b5fd2 [docs] remove unresolved doc refs, fix attribute ref 2020-09-07 22:25:11 -04:00
Nadir ChowdhuryandGitHub 360fc123c6 Add remaining user flags 2020-08-05 22:04:09 -04:00
Nadir ChowdhuryandGitHub 6d88316767 Fix NameError with resolving codes with Template 2020-07-31 21:07:20 -04:00
NCPlayzandRapptz 3408695a37 [docs] fix reference to Guild and document utils.resolve_template 2020-07-08 23:01:00 -04:00
Nadir ChowdhuryandGitHub e971e2f16c Allow more methods to set an audit log reason 2020-06-30 23:35:42 -04:00
NCPlayz ce03c62c6b [bugs] stop resolving Object for template/invite; remove dupe methods 2020-06-29 16:58:19 +01:00
Nadir ChowdhuryandGitHub b68cbb7a42 Add support for bulk editing role positions 2020-06-28 14:52:32 -04:00
Nadir ChowdhuryandGitHub a64006ee9b Add support for integrations 2020-06-28 14:50:43 -04:00
Nadir ChowdhuryandGitHub 2b3c6e0d47 Add support for Discord templates 2020-06-28 14:48:04 -04:00
NCPlayz a2148d6d1a Escape masked URLs; Support quotes for as_needed 2020-06-17 16:31:48 +01:00
Nadir ChowdhuryandGitHub 1efb8a8204 [docs] Fix PublicUserFlags not showing up 2020-06-04 23:38:31 -04:00
NCPlayzandRapptz bd1420b5f0 Allow editing of channel types for news and text channels 2020-05-29 23:21:59 -04:00
NCPlayzandRapptz ed80ba6a5e Implement some missing attributes of Guild (and Guild.edit) 2020-05-23 22:04:02 -04:00
NCPlayzandRapptz 40a4604604 use _channel_factory instead of manual checking in Guild._sync 2020-05-23 21:56:40 -04:00
NCPlayzandRapptz f09162f259 isinstance(x, y) and isinstance(x, z) -> isinstance(x, (y, z)) 2020-05-23 21:56:40 -04:00
NCPlayzandRapptz c8f32f3151 animated key is never given to reaction_remove(_emoji) 2020-04-06 04:58:27 -04:00
NCPlayzandRapptz 1b0e806245 [commands] Implement commands.before/after_invoke 2020-04-04 02:57:20 -04:00
NCPlayzandRapptz f95ccf53e0 Fix issue with shard_ready not dispatching when not fetching offline 2020-01-14 19:39:34 -05:00
NCPlayzandRapptz 787d424dce Add VoiceRegion.dubai 2020-01-06 00:30:04 -05:00
NCPlayzandRapptz 9c6a121644 Implement discord.MessageFlags
Refactor flags placement and use it for suppression.
2019-12-20 20:56:40 -05:00
NCPlayz a74bdaa8b2 Add Guild.discovery_splash_url/_as, Guild.rules_channel 2019-12-19 22:19:04 +00:00
NCPlayzandRapptz 17901becf0 Add support for YouTube Streaming 2019-12-18 00:01:32 -05:00