Luke 6723为不一致API处理程序制作的机器人程序
botsfordiscordapi的Python项目详细描述
用于python的不协调api处理程序的bots
这是我为bots for discord(bot list)制作的api处理程序
安装
要使用它,您可以使用pip安装它:pip install botsfordiscordapi
示例用法
importbotsfordiscordapi#Authorize## API Version is currently 'v1' but may update in the futurebfd=botsfordiscordapi.login(token,api_version)#Push server count (Requires token)bfd.push(bot_id,server_count)#Get a bot on the list (If it exists)bfd.get(bot_id)
示例响应
得到响应:
{"approved":false,"avatar":"","count":1000000,//Servercount"id":"","invite":"","longDesc":"","name":"","owner":"","ownername":"","ownernametwo":"","prefix":"","shortDesc":"","theme":"","timestamp":,"type":"","verified":false,"verifyqueue":false,"website":""}