Discord-ext-check

Latest version: v0.1

Safety actively analyzes 623567 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1

Features:
For now, 16 Functions have been implemented to decorate your discord commands, which are:
- `is_guild_owner` Checks if the Command Author is the Guild Owner
- `is_not_guild_owner` Checks if the Command Author is not the Guild Owner
- `has_user_id` Checks if the Command Author's ID is the same as the ID passed into the function
- `has_channel_id` Checks if the Command Channel's ID is the same as the ID passed into the function
- `has_guild_id` Checks if the Command Guild's ID is the same as the ID passed into the function
- `has_user_id_in` Checks if the Command Author's ID is the same as any ID in the Iterable Object (List, Tuple, etc) passed into the function
- `has_channel_id_in` Checks if the Command Channel's ID is the same as any ID in the Iterable Object (List, Tuple, etc) passed into the function
- `has_guild_id_in` Checks if the Command Guild's ID is the same as any ID in the Iterable Object (List, Tuple, etc) passed into the function
- `has_user_name` Checks if the Command Author's Name is the same as the Name passed into the function
- `has_channel_name` Checks if the Command Channel's Name is the same as the Name passed into the function
- `has_guild_name` Checks if the Command Guild's Name is the same as the Name passed into the function
- `has_user_name_in` Checks if the Command Author's Name is the same as any Name in the Iterable Object (List, Tuple, etc) passed into the function
- `has_channel_name_in` Checks if the Command Channel's Name is the same as any Name in the Iterable Object (List, Tuple, etc) passed into the function
- `has_guild_name_in` Checks if the Command Guild's Name is the same as any Name in the Iterable Object (List, Tuple, etc) passed into the function
- `has_args` Checks if the Number of Args in the Command passed is equal to the Number passed into this function (Context is considered to be an Arg)
- `has_args_atleast` Checks if the Number of Args in the Command passed is greater than or equal to the Number passed into this function (Context is considered to be an Arg)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.