Repository navigation
disckit v1.0.0
The first actual stable release of disckit. We've fixed all type checking errors.
In this release, the following decorators will need to be called while using them-
disckit.utils.is_ownerdisckit.utils.disallow_bots
Meaning, instead of doing-
@app_commands.command(name="is-owner")
@is_owner
async def is_owner_example(self, interaction: Interaction) -> None: ...You will have to do-
@app_commands.command(name="is-owner")
@is_owner()
async def is_owner_example(self, interaction: Interaction) -> None: ...There are some additional features features that has been added too such as-
disckit.utils.get_or_fetch_guilddisckit.utils.get_or_fetch_userdisckit.utils.get_or_fetch_channel
These functions attempt to simplify fetching guild, user or channel objects efficiently by first attempting to obtain it from cache, if it's unavailable, it makes an API request to fetch it.
Minor bug fix in the paginator home button & a new parameter added to it's __init__ : extra_buttons_format which takes in a bool and is by default True. This automatically symmetrically formats the extra buttons passed to it.
Full Changelog: v0.9...v1.0.0