Milan Smeets

Results 5 issues of Milan Smeets

## 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)...

t: enhancement
s: needs review

## Summary This PR reworks disnake's custom enums. The existing enums come with a couple issues. First of all, the API does not match that of Python's built-in `Enum` class....

t: enhancement
breaking change
s: in progress
t: refactor/typing/lint
3.0

`attrs,Nothing` is intended to be used as `typing.Literal[NOTHING]` as denoted in `attr._make._Nothing`. As of pyright version 1.1.371, this no longer works. As per https://github.com/microsoft/pyright/discussions/8820, this is an intentional change, and...

Typing

## Summary This PR adds support for ``__eq__`` comparison between [`BaseFlags`](https://github.com/DisnakeDev/disnake/blob/a34d0f95b4465f5fcf8bc5b20c25040e155f00e6/disnake/flags.py#L106-L285) and [`flag_values`](https://github.com/DisnakeDev/disnake/blob/a34d0f95b4465f5fcf8bc5b20c25040e155f00e6/disnake/flags.py#L52-L95). For example, ```py >>> disnake.Intents(guilds=True) == disnake.Intents.guilds True ``` ## Checklist - [x] If code changes were...

t: enhancement

## Summary Currently, `commands.Param` assumes the provided autocompleter does *not* take a cog and is typehinted as such, despite *somewhat* working with alternative autocomplete options such as a simple sequence....

t: enhancement