A chatango library with a flexible manager.
Requirements: This library requires at this time to have python 3 or greater installed.
Method enabling: no longer needed, each method can be added or removed in the bot without any changes to the library.
Methods and parameters:
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) NOTE: bit = 0 recvUserJoin(group, user) = recvparticipant(bit, group, user) NOTE: bit = 1 recvCommand(user, group, auth, post, command, command arguments) NOTE: unchanged recvPost(user, group, auth, post) NOTE: unchanged recvModErase(group, user) = recvmods(left, group, mod) NOTE: left = true recvModAdd(group, user) = recvmods(left, group, mod) NOTE: left = false 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) recvGroupBanUpdate(minutes, seconds) = recvtb(group, mins, secs)
PM's:
recvPMInit(group) = recvOK(group) recvOfflinePM(user, pm) = recvmsgoff(group, user, pm) recvPm(user, pm) = recvmsg(group, user, pm) recvPMKick() = recvkickingoff(group)