def leave_server(self, serverid): """ the userbot will leave the specific server """ return Server(self.token).leave_server(serverid, self.proxy)
def get_channels(self, serverid): return Server(self.token).get_channels(serverid)
def join_server(self, invite): """ it joins the server from the specific invite parameter that the user has entered """ return Server(self.token).join_server(invite)
def ban(self, chatid, userid, reason): """ the userbot will ban the user from the server """ return Server(self.token).ban(chatid, userid, reason, self.proxy)
def kick(self, chatid, userid, reason): """ the userbot will kick the specific user from the server """ return Server(self.token).kick(chatid, userid, reason, self.proxy)
def createServer(self, logo, name, region): """ it creates a server with the spefic logo, name, and region """ return Server(self.token).createServer(logo, name, region, self.proxy)