Skip to content

Discord bot for quick kick of users, with support for regular commands, as well as voice commands.

Notifications You must be signed in to change notification settings

tikitko/red-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

red-alert

VOSK Library libvosk.a: https://github.com/tikitko/voskrust/blob/main/README.md

VOSK Models: https://alphacephei.com/vosk/models

Red Alert Main Configuration config.yaml:

discord_token: "DISCORD_TOKEN"
lang_id: "ru_RU"
vosk_model_path: "vosk-model-small-ru-0.22"
vosk_log_level: -1

Red Alert Guilds Voice Configuration guilds_voice_config.yaml:

auto_track_ids: []
base:
  target_words:
    - "красная тревога"
    - "код красный"
  self_words:
    - "запретное слово"
    - "ты плохой"
  aliases:
    "алена": 111111111111111111
    "вадим": 222222222222222222
  similarity_threshold: 0.75
  editors: null
specific:

(Optional) Red Alert Log Configuration log_config.yaml:

refresh_rate: 15 seconds
appenders:
  console:
    kind: console
    encoder:
      pattern: "{d(%Y-%m-%d %H:%M:%S)} | {({l}):5.5} | {f}:{L} — {m}{n}"
  info_file:
    kind: file
    path: "info.log"
    encoder:
      pattern: "{d(%Y-%m-%d %H:%M:%S)} | {({l}):5.5} | {f}:{L} — {m}{n}"
loggers:
  red_alert:
    level: info
    appenders:
      - console
      - info_file

About

Discord bot for quick kick of users, with support for regular commands, as well as voice commands.

Resources

Stars

Watchers

Forks