Documentation ¶
Index ¶
Constants ¶
View Source
const ( PV_FLAG = "pv" // won't work if message is replied ADD_FLAG = "add" // it works only for sudo people RM_FLAG = "rm" // it works only for sudo people REM_FLAG = "rem" // it works only for sudo people REMOVE_FLAG = "remove" // it works only for sudo people HENTAI_FLAG = "hentai" // it works only for sudo people PRIVATE_FLAG = "private" // won't work if message is replied DELETE_FLAG = "delete" // won't work if message is not replied DEL_FLAG = "del" // won't work if message is not replied PH_FLAG = "ph" // won't work if message is not replied PHOTO_FLAG = "photo" // won't work if message is not replied MSG_FLAG = "msg" // is there any messages for caption? MESSAGE_FLAG = "message" // is there any messages for caption? )
the flags for the wotoPat plugin. please notice that all flags should begin with prefex `--`, but in the pTools, this prefex will be removed.
View Source
const ( SEND_HENTAI_SUDO_ONLY = "Owo " + tgConst.FIRST_NAME_MENTION + ", ~-~ Only sudo people can use hentai flag!" SEND_HENTAI_PV_ONLY = "#-# " + tgConst.FIRST_NAME_MENTION + ", Sending lewd things in" + " groups is prohibited!\nConsider adding --pv flag :D" NO_HPAT = "UmU! " + tgConst.FIRST_NAME_MENTION + ", it seems there is no hentai pat in the database! >-<" NO_PAT = "UmU! " + tgConst.FIRST_NAME_MENTION + ", it seems there is no pat in the database! >.<" PAT_EXISTS = "Nyaaaa! pat =>` " + wotoValues.FORMAT_VALUE + "` , already exists in the database! -.-" PAT_DOESNT_EXIST = "Nyaaaa! pat =>` " + wotoValues.FORMAT_VALUE + "` , doesn't exist in the database! *-*" HENTAI_PAT_ADDED = "Hentai pat has been added to database-nano~" PAT_ADDED = "Pat has been added to database meow~☆" HENTAI_PAT_REMOVED = "Hentai pat has been removed from database-nano~" PAT_REMOVED = "Pat has been removed from database meow~☆" )
messages used in wotoPat plugin.
View Source
const ( NONE patType = 0 PHOTO_PAT patType = 1 )
the pat types values.
Variables ¶
This section is empty.
Functions ¶
func PatHandler ¶
PatHandler is entry handler for a pat command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.