Skip to content

Configuration

CodexScript edited this page Jan 18, 2022 · 2 revisions

Example configuration:

botToken: "FOO.BAR.AS1.DW232312.4"
ownerID: "123456789"
socialCreditDatabase:
  host: "127.0.0.1"
  port: 5432
  user: "postgres"
  password: "password"
lavalink:
  ip: "127.0.0.1"
  port: 2333
  password: "password"
tiktok:
  xKhronos: "123456789"
  xGorgon: "123abc"
  cookie: "yum"
  badSounds:
    - "1234567891234567890" 
    - "5346786789123456782"
  badHashtags:
    - "fortnite"
    - "makeup"
  badAuthors:
    - "charlidamelio"
    - "dixiedamelio"
  • botToken: Your discord bot token
  • ownerID: The user ID of the user who should be considered the owner of the bot
  • socialCreditDatabase: An object containing information relating to a PostgreSQL database
  • lavalink: An object containing information relating to Lavalink instance. Required for voice functionality

tiktok:

  • xKhronos: Your TikTok x-khronos header
  • xGorgon: Your TikTok x-gorgon header
  • cookie: Your TikTok cookie
  • badSounds: A list of sound IDs to not pick from when using TikTok commands
  • badHashtags: A list of hashtags to not pick from when using TikTok commands
  • badAuthors: A list of authors to not pick from when using TikTok commands
Clone this wiki locally