Skip to content

一个很丑的Discord图片bot 基于 Rapptz/discord.py

License

Notifications You must be signed in to change notification settings

M1kouExc/picbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

picbot

一个很丑的Discord图片bot 基于 Rapptz/discord.py

使用方法

1.安装依赖的第三方库discord.py的rewrite分支

2.在main.py的第12行token中输入bot的token,headers末尾的Cookie用来模拟登陆yande.re,可不写(登陆后可以看到更激进的R18内容)

3.运行脚本

命令说明

    以感叹号开头,有两种命令  
    1.!pic  
    不需要加任何参数,bot随机发一张来自yande.re的图片  


    2.!tag tag1 tag2 tag3....  
    指定tag(标签)搜索图片,搜索结果内随机选择一张发出来  
    例如:  

    !tag no_bra azur_lane score:>=500  
         不戴bra 碧蓝航线 分数大于等于500
    !tag rating:safe loli
            等级为安全 萝莉
    !tag wallpaper touhou
               壁纸 东方project
    !tag user:kaz source:http://site.com id:>=100 date:2007-01-01
          用户kaz上传的   来自xxx网站    图片id大于等于100 日期为2007-01-01
          ↑这几条很少能用到

更详细的请参考yande.re内置的指令表

About

一个很丑的Discord图片bot 基于 Rapptz/discord.py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages