Add Copilot image scraping, update and fix telegram async, improve shared API

This commit is contained in:
2024-06-19 01:40:33 +02:00
parent 09cf925850
commit 4c403e516b
21 changed files with 386 additions and 98 deletions

View File

@ -2,33 +2,31 @@
# WinDog multi-purpose chatbot #
# Licensed under AGPLv3 by OctoSpacc #
# ================================== #
""" # windog config start # """
# If you have modified the bot's code, you should set this
ModifiedSourceUrl = ""
# Only for the platforms you want to use, uncomment the below credentials and fill with your own:
LogToConsole = True
LogToFile = True
# MastodonUrl = "https://mastodon.example.com"
# MastodonToken = ""
# MatrixUrl = "https://matrix.example.com"
# MatrixUsername = "username"
# MatrixPassword = "hunter2"
# TelegramToken = "1234567890:abcdefghijklmnopqrstuvwxyz123456789"
DumpToConsole = False
DumpToFile = 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"
ModuleGroups = (ModuleGroups | {
#ModuleGroups = (ModuleGroups | {
ModuleGroups = {
"Basic": "",
"Geek": "",
})
}
# Only for the platforms you want to use, uncomment the below credentials and fill with your own:
""" # end windog config # """