Drop rebt and exit vars, add missing "npallowed"
This commit is contained in:
parent
8bc9ed19fc
commit
31d7d0fabb
1 changed files with 1 additions and 3 deletions
4
bot.py
4
bot.py
|
@ -35,12 +35,10 @@ class bot:
|
||||||
)
|
)
|
||||||
self.__version__ = conf.__version__
|
self.__version__ = conf.__version__
|
||||||
self.nick = "FireBot"
|
self.nick = "FireBot"
|
||||||
self.rebt = "fire"
|
|
||||||
self.gblrebt = "all"
|
|
||||||
self.adminnames = conf.servers[server]["admins"]
|
self.adminnames = conf.servers[server]["admins"]
|
||||||
self.exitcode = f"bye {self.nick.lower()}"
|
|
||||||
self.queue = []
|
self.queue = []
|
||||||
self.sock = socket(AF_INET, SOCK_STREAM)
|
self.sock = socket(AF_INET, SOCK_STREAM)
|
||||||
|
self.npallowed = ["FireBitBot"]
|
||||||
self.log(f"Start init for {self.server}")
|
self.log(f"Start init for {self.server}")
|
||||||
|
|
||||||
def connect(self) -> None:
|
def connect(self) -> None:
|
||||||
|
|
Loading…
Reference in a new issue