2021-09-16 17:35:06 +00:00
|
|
|
class config:
|
|
|
|
class self:
|
2021-10-04 12:48:10 +00:00
|
|
|
nick = "bot6"
|
|
|
|
username = "jan6_bot"
|
|
|
|
realname = "jan6's bot"
|
2021-10-04 15:49:05 +00:00
|
|
|
source = "https://tildegit.org/jan6/bot6"
|
2021-10-04 12:48:10 +00:00
|
|
|
|
2021-09-16 17:35:06 +00:00
|
|
|
class server:
|
2021-10-07 19:22:45 +00:00
|
|
|
name = "libera"
|
|
|
|
host = "irc.libera.chat"
|
2021-10-04 12:48:10 +00:00
|
|
|
port = 6697
|
|
|
|
ssl = True
|
2021-10-07 19:22:45 +00:00
|
|
|
channel = "##jan6"
|
2021-11-07 10:38:04 +00:00
|
|
|
autojoin = ["##sharing"]
|
2021-10-04 12:48:10 +00:00
|
|
|
|
2021-09-16 17:35:06 +00:00
|
|
|
class admin:
|
2021-10-04 12:48:10 +00:00
|
|
|
accounts = ["jan6"]
|
|
|
|
hostmasks = ["jan6!jan6@mischievous.deity"]
|
|
|
|
|
2021-09-16 17:35:06 +00:00
|
|
|
class cmd:
|
2021-10-04 12:48:10 +00:00
|
|
|
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 = []
|
2021-11-07 10:38:04 +00:00
|
|
|
|
|
|
|
capabilities = [
|
|
|
|
"message-tags",
|
|
|
|
"multi-prefix",
|
|
|
|
"account-tag",
|
|
|
|
"batch",
|
|
|
|
"account-notify",
|
|
|
|
"chghost",
|
|
|
|
"away-notify",
|
|
|
|
]
|