bot6/config.py

36 lines
857 B
Python
Raw Normal View History

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"
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-04 12:48:10 +00:00
name = "tilde.chat"
host = "tilde.chat"
port = 6697
ssl = True
channel = "#botsix"
capabilities = [
2021-09-16 17:35:06 +00:00
"message-tags",
"multi-prefix",
"account-tag",
"batch",
"account-notify",
"chghost",
2021-10-04 12:48:10 +00:00
"away-notify",
2021-09-16 17:35:06 +00:00
]
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 = []