Skip to content

settings command

Kilvoctu edited this page Feb 10, 2023 · 6 revisions

/settings is one of AIYA's slash commands, but its use is mostly setup.

Since /settings could lead to undesired changes, it's recommended to limit its visiblity to trusted users via Apps -> Integrations in your Discord Server Settings.

/settings

Settings is used to set channel defaults for image generations.
It's useful for bot maintainers to set different default parameters for different Discord channels, so you can have specific themes/aesthetic per channel.
The benefit is for the users to focus on having fun making art, without hassle of setting various parameters frequently.

All supported options from the /draw command can be set, except:

  • Prompt (see model swapping if you need per model prompts)
  • Seed
  • Init_img
  • Init_url

Extra supported options:

  • Maximum step limit (this is default to 50)
  • Maximum count limit (this is default to 1)

In addition, there is a "current_settings" option for reviewing the channel defaults. This option doesn't ever need to be selected; it is set to show by default.


The "refresh" option.

What this option does is pull any changes to content from the Web UI and update each of AIYA's lists with the content changes. So if you're adding embeddings or hypernetworks or something to your Web UI, you can use this option and not need to restart AIYA.

Refresh can also be used after making changes to the models.csv.
Note that when adding (or removing) content to the Web UI, you may need to reload or restart the Web UI. This is to update the API for AIYA to read from.

In addition to the above, using refresh will pull in any changes made to the config.toml. While some changes need a restart, such as changing max_size, it could help to minimize unnecessary restarts.

Another note, after using refresh, review /settings as defaults may be reset. This is an extremely rare bug that has happened to me only once. If you're able to replicate the issue, please file a bug report.