Module: exercise

Slash command for exercise recommendations
Source:

Members

(static) data :object

Slash command for exercise recommendations
Type:
  • object
Properties:
Name Type Description
data object A slash command object
Properties
Name Type Description
name string Name of the slash command
description string Description of the slash command
Source:

(inner) embed :object

Embedded object
Type:
  • object
Properties:
Name Type Description
embed object Embed object
Properties
Name Type Description
color color Color of the embed
title string Title of the embed
description string Description of the embed
images string Description of the image
Source:

Methods

(async, inner) execute(interaction, options)

Executes the exercise command
Parameters:
Name Type Description
interaction object Current discord interaction
options Array.<string> List of exercise tips
Source: