Namespace for BetterDiscord.
- Source:
- See:
Methods
(static) format(meta) → {string}
Formats metadata into a theme META string.
Parameters:
Name | Type | Description |
---|---|---|
meta |
BetterDiscord~Meta | The metadata to be formatted. |
- Source:
Returns:
The formatted theme META string.
- Type
- string
(static) meta(data) → {BetterDiscord~Meta}
Creates a legacy BD metadata object.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The original metadata. |
- Source:
Returns:
The legacy metadata object.
- Type
- BetterDiscord~Meta
Type Definitions
Meta
Object representing the theme's legacy metadata.
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
name |
string | The theme's name in title case. |
|
description |
string | The theme's description. |
|
version |
string | The theme's version as a string. |
|
author |
string | The theme's authors' names separated by a comma. |
|
source |
string |
<optional> |
The theme's source URL. |
website |
string |
<optional> |
The theme's website URL. |
- Source: