mirror of
https://gitlab.com/octospacc/WinDog.git
synced 2025-02-03 17:27:32 +01:00
54 lines
1.3 KiB
Python
Executable File
54 lines
1.3 KiB
Python
Executable File
# ================================== #
|
|
# WinDog multi-purpose chatbot #
|
|
# Licensed under AGPLv3 by OctoSpacc #
|
|
# ================================== #
|
|
|
|
# If you have modified the bot's code, you should set this
|
|
ModifiedSourceUrl = ''
|
|
|
|
MastodonUrl = ''
|
|
MastodonToken = ''
|
|
|
|
TelegramId = 1637713483
|
|
TelegramToken = "0123456789:abcdefghijklmnopqrstuvwxyz123456789"
|
|
TelegramAdmins = [ 123456789, 634314973, ]
|
|
TelegramWhitelist = [ 123456789, 634314973, ]
|
|
TelegramRestrict = False
|
|
|
|
AdminIds = [ "123456789@telegram", "634314973@telegram", "admin@activitypub@mastodon.example.com", ]
|
|
|
|
DefaultLang = "en"
|
|
Debug = False
|
|
Dumper = False
|
|
CmdPrefixes = ".!/"
|
|
# False: ASCII output; True: ANSI Output (must be escaped)
|
|
ExecAllowed = {"date": False, "fortune": False, "neofetch": True, "uptime": False}
|
|
WebUserAgent = "WinDog v.Staging"
|
|
|
|
# TODO deprecate this in favour of new module API
|
|
Endpoints = (Endpoints | {
|
|
"start": cStart,
|
|
#"config": cConfig,
|
|
"source": cSource,
|
|
"ping": cPing,
|
|
"echo": cEcho,
|
|
"broadcast": cBroadcast,
|
|
#"repeat": cRepeat,
|
|
"wish": percenter,
|
|
"level": percenter,
|
|
"hug": multifun,
|
|
"pat": multifun,
|
|
"poke": multifun,
|
|
"cuddle": multifun,
|
|
"floor": multifun,
|
|
"hands": multifun,
|
|
"sessocto": multifun,
|
|
#"encode": cEncode,
|
|
#"decode": cDecode,
|
|
#"time": cTime,
|
|
"eval": cEval,
|
|
"exec": cExec,
|
|
#"format": cFormat,
|
|
#"frame": cFrame,
|
|
})
|