Config#

Setting available via settings.toml or .env

########################################
###          DEFAULT SETTINGS        ###
########################################

# Any of those settings can be changed
# by the user. To overwrite a setting, 
# create a settings.toml or load the 
# settings from .env file or vars.
# As an example, to disable the 
# iamlistening object:
# settings.toml
# [default]
# iamlistening_enabled = false

[default]
# settings load verification
VALUE = "On Default"

# Module Enable/Disable
iamlistening_enabled = true

# chat_platform is used to launch 
# the specific handler
# for the chat platform. Value can be
# telegram, discord, matrix, etc.

# [default.platform]
# platform = ""
# bot_token = ""
# bot_channel_id = ""
# bot_api_id = ""
# bot_api_hash = ""
# bot_hostname = ""
# bot_user = ""
# bot_pass = ""
# bot_auth_token = ""
# iteration_enabled = false
# iteration_limit = -1

[default.platform.template]
platform = ""
enabled=true
bot_token = ""
bot_channel_id = ""
bot_api_id = ""
bot_api_hash = ""
bot_hostname = ""
bot_user = ""
bot_pass = ""
bot_auth_token = ""
iteration_enabled = false
iteration_limit = -1

# [default.platform.backup]
# platform = ""
# enabled=true
# bot_token = ""
# bot_channel_id = ""
# bot_api_id = ""
# bot_api_hash = ""
# bot_hostname = ""
# bot_user = ""
# bot_pass = ""
# bot_auth_token = ""
# iteration_enabled = false
# iteration_limit = -1

# Iteration settings used for testing
# if you need the bot to run 
# for a long time
# set iteration_enabled to false
# if you need the bot to run 
# for a short time
# set iteration_enabled to true
# iteration_limit is the number 
# of iterations
# the bot will run for 
# iteration_enabled = true
# iteration_limit = 1


########################################
###     END OF DEFAULT SETTINGS      ###
########################################

Chat Platform Credentials#

Telegram#

example:

chat_platform="telegram"
iteration_enabled = false
iteration_limit = -1
bot_token = "1233242342"
bot_channel_id = "123123123"
bot_api_id = "123123123"
bot_api_hash = "123123123"
bot_hostname = ""
bot_user = ""
bot_pass = ""
bot_auth_token = ""

Discord#

example:

chat_platform="discord"
iteration_enabled = false
iteration_limit = -1
bot_token = "12345"
bot_channel_id = "12345"
bot_api_id = ""
bot_api_hash = ""
bot_hostname = ""
bot_user = ""
bot_pass = ""
bot_auth_token = ""

Matrix#

example:

chat_platform="matrix"
iteration_enabled = false
iteration_limit = -1
bot_token = "12345"
bot_channel_id = "!myroom:matrix.org"
bot_api_id = ""
bot_api_hash = ""
bot_hostname = "https://matrix.org"
bot_user = "1234"
bot_pass = "1234"
bot_auth_token = ""

Guilded#

example:

chat_platform="guilded"
iteration_enabled = false
iteration_limit = -1
bot_token = "12345"
bot_channel_id = ""
bot_api_id = ""
bot_api_hash = ""
bot_hostname = ""
bot_user = ""
bot_pass = ""
bot_auth_token = ""

Mastodon#

example:

chat_platform="mastodon"
iteration_enabled = false
iteration_limit = -1
bot_token = ""
bot_channel_id = ""
bot_api_id = ""
bot_api_hash = ""
bot_hostname = "https://mastodon.social""
bot_user = ""
bot_pass = ""
bot_auth_token = "12345"

Lemmy#

  • Use your user name, user password and lemmy instance url

  • check db0/pythorhead

example:

chat_platform="lemmy"
iteration_enabled = false
iteration_limit = -1
bot_token = ""
bot_channel_id = "lemmyworld"
bot_api_id = ""
bot_api_hash = ""
bot_hostname = "https://lemmy.world"
bot_user = "1234"
bot_pass = "1234"
bot_auth_token = ""

Twitch#

example:

chat_platform="twitch"
iteration_enabled = false
iteration_limit = -1
bot_token = "1233435"
bot_channel_id = ""
bot_api_id = ""
bot_api_hash = ""
bot_hostname = ""
bot_user = ""
bot_pass = ""
bot_auth_token = ""