Skip to content

Custom text replaces

RadRussianRus edited this page Dec 21, 2021 · 4 revisions

Russia На русском

Custom text replaces is the JSON settings feature that allows you to set your own text replaces, such as :shrug: to ¯\_(ツ)_/¯. Feature has been added in Kotatogram 1.1.6.

Note: this feature worked only when "Replace emoji" option is enabled (Settings > Chat Settings) on 1.4.5 or lower. Since 1.4.6 you can use it without "Replace emoji" option.

How to use this option

Add or find "replaces" option, it should be an array. To add a replace, you should add a subarray, where first item is text that you are typing, and second is the result of replacement.

Examples

Empty example

{
  "replaces": []
}

One replacement

This will add replacement from start to starting.

{
  "replaces": [
    ["start", "starting"]
  ]
}

Two replacements

This will add replacement from pot to potato, and from cat to cotato.

{
  "replaces": [
    ["pot", "potato"],
    ["cat", "cotato"]
  ]
}