Skip to content

Command en US

ozraru edited this page Jul 14, 2024 · 4 revisions

Command reference

You can run those commands by putting prefix before each cmds just like this: .help.
The default prefix is: .

Basic

help

Prints the link to this Wiki.

dump

Shows current settings.

join

Starts tts.

leave

Stops tts.

Settings

config

Changes verious configs.
Put one of the subcommand after the prefix.
Ex: config prefix ! (Changes prefix to !)

Subcommands

  • prefix (changes prefix.)
    • config prefix !
  • lang (changes language.)
    • config lang english
  • maxchar (sets maximum chars.)
    • config maxchar 100
  • voice (sets voice source and type.)
    • config voice source type
    • Available source and type are varies(Contact your admin).
  • readbots (sets if read bots or not.)
    • config readbots true
  • readname (sets if read name before each messages.)
    • config readnaem true
  • policy (sets default policy.)
    • Values are: allow, deny.
    • config policy allow

Available voice source

source: watson

https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-voices#languageVoices

  • config voice watson en-US_AllisonV3Voice
  • config voice watson en-US_HenryV3Voice

source: gtts

  • config voice gtts en

source: gcp

https://cloud.google.com/text-to-speech/docs/voices?hl=ja

  • config voice gcp en-US-Wavenet-A
  • config voice gcp en-US-Wavenet-B

source: azure

https://docs.microsoft.com/ja-jp/azure/cognitive-services/speech-service/language-support#neural-voices

  • config voice azure en-US-AmberNeural
  • config voice azure en-US-BrandonNeural

source: voicetext (Japanese only)

https://cloud.voicetext.jp/webapi/docs/api

  • config voice voicetext show
  • config voice voicetext haruka

source: voicevox (Japanese only)

https://voicevox.hiroshiba.jp/
Slower than other sources.
The longer the sentence, the longer it takes to generate.

  • config voice voicevox 四国めたんノーマル
  • config voice voicevox ずんだもんあまあま

source: coeiroink

https://coeiroink.com/ Ask your admin about available type.

  • config voice coeiroink つくよみちゃんれいせい
  • config voice coeiroink 松嘩りすくアナウンス

source: aquestalk-proxy

Ask your admin about available type.

  • config voice aquestalk-proxy f1
  • config voice aquestalk-proxy m2

user

Changes user configs.
Those settings overwrites current guild settings.

  • voice (sets per-user voices.)
    • Usages are same as the guild config.
  • delete (deletes current per-user settings.)
    • No arguments.

replace

Sets regex message words replacement.
You can use those settings to read guild emojis (can't read by bots of course) or fix misreads.
Those settings replace all matches in message. Setting popular or short words may cause unexpected behavior! Use caution.
Those who wants more detailed settings can use regex.

  • set (Sets replacement.)
    • set lol bruh
  • del (Deletes replacement.)
    • del lol
  • list(Shows current replacement settings with numbers.)
    • No arguments.
  • delnum (Deletes replacement by the number in list.)
    • delnum list

Policy

Set users which read or not individually.
Use mention as the argument.
If you set config policy value to allow, those who listed won't read by bot and vice versa.

  • add (Adds user to the list.)
    • add @Kotone-DiVE
  • del (Deletes user from the list.)
    • del @Kotone-DiVE
  • list (Shows policy list.)
    • No arguments.

Debug future etc

ping

Returns pong with basic infos if the bot is available.

debug

Shows debug log which shows how those replace rules work.
Config file regex settings (which applys forcibly) are also shown.
Since this future will consume much resources, don't use this future unless following situation and knows what are you doing:

  • The bot seems won't work by misconfigure of the replace settings
  • Admins told you to do that and send results