Skip to content

piks/chlib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

chlib

A chatango library with a flexable manager - Stable channel.

Requirements: This library requires at this time to have python 3 or greater installed.

TOS: You may not use this library to explicitely run ANY code that was not created from the original user OR ported from any previous bot using the ch.py library UNLESS you made any code that ran on ch.py FROM YOUR EXISING KNOWLEDGE.

Methods and parameters (outdated for now):

groups:

The group method's are now based on the command chatango send's. recvOldMethodName(args) = recvNewMethodName(args)

recvFailedLogin(group) = recvdenied(group)

recvInit(group) = recvinited(group)

recvUserLeave(group, user) = recvparticipant(bit, group, user, uid) NOTE: bit = 0

recvUserJoin(group, user) = recvparticipant(bit, group, user, uid) NOTE: bit = 1

recvCommand(user, group, auth, post, command, command arguments) NOTE: unchanged

recvPost(user, group, auth, post) NOTE: unchanged

recvModErase(group, user) = recvmods(added, group, mod) NOTE: added = false

recvModAdd(group, user) = recvmods(added, group, mod) NOTE: added = true

recvPostDelete(group, post) = recvdelete(group, post)

recvBan(group, user, mod) = recvblocked(group, user, mod)

recvUnban(group, user, mod) = recvunblocked(group, user mod)

recvLogout(group) = recvlogoutok(group)

recvLogin(group) = recvpwdok(group)

recvGroupClear(group) = recvclearall(group)

recvFlWarning(group) = recvshow_fw(group)

recvGroupBan(group) = recvshow_tb(group, mins, secs)

recvGroupBanUpdate(minutes, seconds) = recvtb(group, mins, secs)

PM's:

recvPMInit(group) = recvOK(group)

recvOfflinePM(user, pm) = recvmsgoff(user, pm)

recvPm(user, pm) = recvmsg(user, pm)

recvPMKick() = recvkickingoff(group)

About

a chatango library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%