fileComponent
Function
Shortcut for FileBuilder(filename, spoiler).
from discord_interactions import fileComponentSignature
def fileComponent(filename: str, spoiler: bool = False) -> FileBuilderParameters
| Name | Type | Default | Description |
|---|---|---|---|
filename | str | required | |
spoiler | bool | False |
Returns
FileBuilder