The DataResolver identifies different objects and tries to resolve a specific piece of information from them.
Extends
nullResolves a Base64Resolvable to a Base 64 image.
Returns
Name | Type | Optional | Description |
---|---|---|---|
data | Base64Resolvable | No | The base 64 resolvable you want to resolve |
Resolves the string to a code based on the passed regex.
Name | Type | Optional | Description |
---|---|---|---|
data | string | No | The string to resolve |
regex | RegExp | No | The RegExp used to extract the code |
Resolves a BufferResolvable to a Buffer.
Name | Type | Optional | Description |
---|---|---|---|
resource | BufferResolvable | Stream | No | The buffer or stream resolvable to resolve |
Resolves GuildTemplateResolvable to a template code.
Name | Type | Optional | Description |
---|---|---|---|
data | GuildTemplateResolvable | No | The template resolvable to resolve |
Resolves a Base64Resolvable, a string, or a BufferResolvable to a Base 64 image.
Name | Type | Optional | Description |
---|---|---|---|
image | BufferResolvable | Base64Resolvable | No | The image to be resolved |
Resolves InviteResolvable to an invite code.
Name | Type | Optional | Description |
---|---|---|---|
data | InviteResolvable | No | The invite resolvable to resolve |