bot6/config.py

37 lines
942 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" #you can set it to your username
2021-10-04 12:48:10 +00:00
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:
name = "libera"
host = "irc.libera.chat"
2021-10-04 12:48:10 +00:00
port = 6697
ssl = True
channel = "##jan6"
autojoin = ["##share","#1337331"]
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, probably
2021-10-04 12:48:10 +00:00
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",
]