Jonah Lawrence

Results 149 comments of Jonah Lawrence

@eshaanagarwal That would be great :+1: Feel free to open a PR, you may decide to add one or more of them. Preferably leaving some for others to contribute :)

Maybe allowing Enums for choices as well could be useful, especially when there are a lot of options or you are using it elsewhere and want to reduce redundancy.

> ill working on `typing.Literal` part for now. I think Dysta said they are working on literal already (about 5 hours ago). It was on the Discord server.

The relevant code to change would be the `CommandOption` constructor and/or the `CommandOption.get_type` method

It seems like the `Range` aspect is still not implemented so it won't be closed by #678

If you are caching messages (which is the default given the intent), the message should get removed automatically from cache when the message_delete event is received. If the message was...

I know it's not common, but what would happen if someone were to type-annotate self with a `TypeVar`, a future annotation of the current class, or [`typing.Self`](https://peps.python.org/pep-0673/)? All of those...

5.0.0 Changelog: https://www.sphinx-doc.org/en/master/changes.html#release-5-0-0-released-may-30-2022 Things that need to change conf.py line 112 ```diff - language = None + language = "en" ``` None is no longer supported. guild.py line 1613 ```diff...

I don't think it's the responsibility of the lib to differentiate events that Discord itself does not differentiate. While I don't disagree that it could be useful, the `Guild Delete`...

For reference: https://github.com/nextcord/nextcord/blob/fa961ca79d852b5df29c42985b0993884a3cfcdf/nextcord/state.py#L1451-L1471 There is already a `guild_unavailable` event, but `guild_remove` is also dispatched? Doesn't seem like that would happen.