Skip to content

Character Development

Wade Penistone edited this page Jan 12, 2019 · 3 revisions

Defining a character

A character is made up of several key pieces of information loaded from your data service as a single record.

These are:

  • PFP (Profile picture) - An image used on the profile belonging to the bot (if applicable)
  • Given name - The name you have given the character that the bot will take on (how others will identify it)

Other optional fields may be provided, but will only be used in skill specific scenarios.

Creating a character

For simplicity we recommend creating the character as a JSON file, and feeding it into your data service with the relevant plugin (JSON transformer for Gatsby, File system for Gridsome)

Using either of these plugins you should be able to get away with creating a file like this:

{
  "pfp": "https://via.placeholder.com/150",
  "givenName": "My Bot",
}

Placing it in the directory you point the plugin at (most likely ./src/data/characters)

Clone this wiki locally