def join(self, channel): """Joins <channel> (<str>).""" connector = hclib.HackChat(self._handle, self._config["name"], channel, self._config["password"], self._config["url"])
def start_hack_chat(self): self.hackchat = hclib.HackChat(self.on_hack_message, self.username, self.hack_chat_channel)
def admin(method, username, channel="xjoi"): mod = hclib.HackChat(admin, "MinecraftFuns", channel, "mcfuns,mcworld", "ws://127.0.0.1:6060/chat-ws", True) if method == "ban": mod.ban("username")