Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Create addField.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSpen authored May 1, 2021
1 parent 625c087 commit c2c3dee
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions functions/addField.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# $addField
Adds a field to the embed.

## Usage
```$addField[name;value;(optional) inline (yes/no)]```

### Breakdown
`name` - The "name" of the field.

`value` - The "value" of the field.

`inline` - Sets if fields are inlined. yes = inline. no = not inlined. The default is "no".

## Example
```
bot.command({
type: "command",
name: "say",
code: `$addField[Hi!;I'm called $username[$clientID].;yes]
$addField[Wow!;You have a lovely name, $username!;yes]`
})
```

#### Notices
[Info Msg] You can only use 25 fields per message.

0 comments on commit c2c3dee

Please sign in to comment.