disnake
disnake copied to clipboard
An API wrapper for Discord written in Python.
## Summary Adds per-file ignores for `S311` ("Standard pseudo-random generators are not suitable for security/cryptographic purposes."). As far as I can tell, bandit should disallow `random.Random` on all platforms, however...
## Summary This removes the two symlinks currently present in the repo that are being used for linking related issue/PR IDs in the changelog. Since symlinks generally don't work on...
## Summary Removes `.. versionadded:: 1.x` and `.. versionchanged:: 1.x` directives from the documentation, and unlinks the v1.0 migration page from the main index (keeping the only reference in the...
### Summary When using `Intents.none()`, `disnake.Message.thread` will fail to resolve on un-cached guilds resulting in errors. ### Reproduction Steps I do not have the full reproduction steps, I fixed this...
## Summary - Add `AutoModTriggerType.mention_spam` with its corresponding `AutoModTriggerMetadata.mention_total_limit` field - Add missing `AuditLogAction.automod_send_alert_message` and `.automod_timeout` action types - not documented yet, but they've been around for a while (June...
## Summary Fixes slotscheck issue on Python 3.10 - [changelog](https://github.com/ariebovenberg/slotscheck/blob/main/CHANGELOG.rst#0150-2022-08-09). slotscheck 0.14.0/0.15.0 runs ```py $ python -V Python 3.10.4 $ nox -s slotscheck nox > Running session slotscheck nox >...
## Summary Refactors application models, deduplicating and generally merging related code. The diff is fairly unreadable as-is, skipping the first commit (that just moves `PartialAppInfo` above `AppInfo`) improves readability quite...
## Summary This PR aims to improve two things. Firstly, passing 'incorrect'/unused kwargs to Client or any of its subclasses will now error. For example, ```py bot = commands.Bot("!", sync_command_debug=True)...
## Summary adds a few missing features and marks a few others as no more effect. ## Checklist - [ ] If code changes were made, then they have been...
Fix TextChannel.clone() to copy default_auto_archive_duration property identically to Discord client
## Summary As described in #635, `disnake.TextChannel.clone()` previously did not copy the `default_auto_archive_duration` property into the new channel. This behavior differs from the behavior of the Discord client. This PR...