bot6/config.py

37 lines
890 B
Python

class config:
class self:
nick = "bot6"
username = "jan6_bot"
realname = "jan6's bot"
source = "https://tildegit.org/jan6/bot6"
class server:
name = "libera"
host = "irc.libera.chat"
port = 6697
ssl = True
channel = "##jan6"
autojoin = ["##sharing"]
class admin:
accounts = ["jan6"]
hostmasks = ["jan6!jan6@mischievous.deity"]
class cmd:
prefixes = ["6", "'"]
# disabled commands, won't run via normal means
disabled = []
# admin-only override,
# useful for testing broken commands which should still be normal-user accessible
admin_only = []
capabilities = [
"message-tags",
"multi-prefix",
"account-tag",
"batch",
"account-notify",
"chghost",
"away-notify",
]