Repository navigation
v0.2.1
Version 0.2.1 introduces the following features:
- Using
httpcord.types.Stringyou can provide minimum and maximum lengths for strings. - Using
httpcord.types.Integer&httpcord.types.Floatyou can provide minimum and maximum values for the int / float. - Even more type clarity throughout the library.
- Using
httpcord.types.Fileas a type hint you are now able to support file uploads with your commands.
String, Integer & Float should be done via a the typing.Annotation feature.
See examples/max-length-string.py, examples/int-and-float-bounding.py & examples/upload-file.py for further information.
Available on PyPi now.
https://pypi.org/project/httpcord/0.2.1/