mirror of
https://gitlab.com/octospacc/WinDog.git
synced 2025-06-05 22:09:20 +02:00
Start Matrix support, more refactoring, cleaner /help and /translate
This commit is contained in:
@ -4,16 +4,18 @@
|
||||
# ================================== #
|
||||
|
||||
# If you have modified the bot's code, you should set this
|
||||
ModifiedSourceUrl = ''
|
||||
ModifiedSourceUrl = ""
|
||||
|
||||
MastodonUrl = ''
|
||||
MastodonToken = ''
|
||||
# Only for the platforms you want to use, uncomment the below credentials and fill with your own:
|
||||
|
||||
TelegramId = 1637713483
|
||||
TelegramToken = "0123456789:abcdefghijklmnopqrstuvwxyz123456789"
|
||||
TelegramAdmins = [ 123456789, 634314973, ]
|
||||
TelegramWhitelist = [ 123456789, 634314973, ]
|
||||
TelegramRestrict = False
|
||||
# MastodonUrl = "https://mastodon.example.com"
|
||||
# MastodonToken = ""
|
||||
|
||||
# MatrixUrl = "https://matrix.example.com"
|
||||
# MatrixUsername = "username"
|
||||
# MatrixPassword = "hunter2"
|
||||
|
||||
# TelegramToken = "1234567890:abcdefghijklmnopqrstuvwxyz123456789"
|
||||
|
||||
AdminIds = [ "123456789@telegram", "634314973@telegram", "admin@activitypub@mastodon.example.com", ]
|
||||
|
||||
@ -25,29 +27,8 @@ CmdPrefixes = ".!/"
|
||||
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,
|
||||
ModuleGroups = (ModuleGroups | {
|
||||
"Basic": "",
|
||||
"Geek": "",
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user