Template

class dpymenus.Template(title=None, description=None, color=None, footer=None, image=None, url=None, thumbnail=None, author=None, fields=None, field_style=<FieldStyle.IGNORE: 0>, field_sort=<FieldSort.LAST: 1>)

Defines a Page template. Page templates contain most of the same options as Embed objects, but they are generally applied via strings or Dictionaries.

See https://dpymenus.com/templates.html for more information.

class dpymenus.template.FieldSort(value)

Defines how templated fields are sorted when using the FieldsStyle.COMBINE mode.

See https://dpymenus.com/field_overrides.html for more information.

FIRST = 0
LAST = 1
class dpymenus.template.FieldStyle(value)

Defines how templated fields are handled when interacting with existing embed fields.

See https://dpymenus.com/field_overrides.html for more information.

IGNORE = 0
COMBINE = 1
OVERRIDE = 2