Module: diet_recommendation

Slash command for diet recommendations
Source:

Members

(static) data :object

Slash command for diet 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
Source:

Methods

(async, inner) execute(interaction, options)

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