1
0
mirror of https://github.com/FloatTech/zbpdata.git synced 2026-02-16 04:05:54 +09:00

Compare commits

...

8 Commits

Author SHA1 Message Date
himawari
229f184604 🐛 修改数据库问题 2022-08-26 10:54:28 +08:00
himawari
73a0549068 🐛 更新bilibili数据库 2022-08-26 10:45:01 +08:00
himawari
b6cc89f352 添加黑丝 2022-08-26 01:58:37 +08:00
himawari
6d9e896acf 添加真心话大冒险 (#30) 2022-08-06 02:35:50 +08:00
莫思潋
b41d8a90d0 上传Control/kanban.jpg (#29) 2022-08-03 22:26:30 +08:00
莫思潋
d25a5447c2 更新塔罗牌数据 (#27)
* 上传tarot.json

* 添加塔罗牌阵

* Update tarots.json

* Update tarots.json

全部换为[nonebot_plugin_tarot](https://github.com/MinatoAquaCrews/nonebot_plugin_tarot)的牌解

* Update tarots.json

修复世界的路径问题
2022-07-29 15:15:46 +08:00
莫思潋
ad9ef4ed4c 更新塔罗牌数据 (#26)
* 上传tarot.json

* 添加塔罗牌阵

* Update tarots.json
2022-07-28 13:05:56 +08:00
源文雨
6283804e81 Revert "添加qqci模板 (#24)" (#25)
This reverts commit 0899cf2973.
2022-07-19 11:37:00 +08:00
8 changed files with 6692 additions and 261 deletions

Binary file not shown.

BIN
Control/kanban.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 KiB

5050
Heisi/heisi.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,23 +0,0 @@
SHELL=/bin/bash
APPNAME ?= {{.Appname}}
PKGNAME ?= $(APPNAME).tar.gz
BUILD_DIR = $(shell pwd)
TEMP_OUTPUT_DIR = $(shell pwd)/_output/$(APPNAME)
tar: build package
@echo -e "======\033[44m all done \033[0m"
build:
go mod tidy
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o $(BUILD_DIR)/$(APPNAME) ./
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o $(BUILD_DIR)/$(APPNAME).exe ./
package:
@-rm -rf $(TEMP_OUTPUT_DIR) >/dev/null 2>&1
mkdir -p $(TEMP_OUTPUT_DIR) >/dev/null 2>&1
cp -rL $(BUILD_DIR)/$(APPNAME) $(TEMP_OUTPUT_DIR)/
cp -rL $(BUILD_DIR)/$(APPNAME).exe $(TEMP_OUTPUT_DIR)/
cp -rL $(BUILD_DIR)/README.md $(TEMP_OUTPUT_DIR)/
cd $(TEMP_OUTPUT_DIR)/.. && tar -czf $(PKGNAME) $(APPNAME)

View File

@@ -1,170 +0,0 @@
#!/bin/bash
approot=$(pwd)
appname={{.Appname}}
appexec={{.Command}}
isdaemon=${isdaemon:=true}
usemonitor=${usemonitor:=false}
##########################################
# main function.
##########################################
function main() {
echo "=="$(date +"%Y-%m-%d %H:%M:%S")"=="
case "$1" in
start)
$usemonitor && start_by_monitor || start_directly
;;
restart|reload)
$usemonitor && restart_by_monitor || restart_directly
;;
stop)
$usemonitor && stop_by_monitor || stop_directly
;;
install)
$usemonitor && install_with_monitor || install_no_monitor
;;
*)
echo "Usage: ./load.sh {install|start|stop|restart}"
exit 1
esac
}
##########################################
# install:
# do something before reload after deploy
##########################################
function install_no_monitor() {
##### make logs directory at app directory ##############
function isemptydir() {
[ `ls -A "$approot/logs" 2>/dev/null | wc -l` -eq 0 ] && echo true || echo false;
}
if [ ! -d $approot/logs -o $(isemptydir) == true ]; then
mkdir -p /data/logs/${appname};
rm -rf $approot/logs;
ln -s /data/logs/${appname} $approot/logs;
fi
}
function install_with_monitor() {
##### do install no monitor actions #####################
install_no_monitor
##### get the supervisor config & incloude directory ####
appmonitor=supervisor
monitconf=${SUPERVISOR_CONF:=$(find /etc -name supervisord.conf -type f 2>/dev/null)}
monitconf=${monitconf:=/etc/supervisor/supervisord.conf}
echo "The path of supervisord.conf is: '${monitconf}'"
monitinclude=${SUPERVISOR_INCLUDE:=$(grep '^\[include\]$' $monitconf -A2 | sed -n 's/^files=\([^*]*\)\(\*.conf\)*/\1/p')}
monitinclude=${monitinclude:=/etc/supervisord.d}
echo "The folder of supervisord files is: ${monitincloude}"
##### install ignore if file exist. #####################
if [ -f ${monitinclude}/${appname}.ini ]; then
echo "WARNING: install ignore, because of file '${monitinclude}/${appname}.ini' is exist"
exit 0
fi
cat >${monitinclude}/${appname}.ini <<-EOF
[program:${appname}]
command=${appexec}
process_name=%(program_name)s
numprocs=1
priority=1
directory=${approot}
autostart=true
autorestart=true
stdout_logfile=/data/logs/supervisor/%(program_name)s.log
stderr_logfile=/data/logs/supervisor/%(program_name)s.err
stdout_logfile_maxbytes=500MB
stderr_logfile_maxbytes=500MB
stdout_logfile_backups=5
stderr_logfile_backups=5
EOF
##### update supervisor & show supervisor status ########
echo "Update ing..."
supervisorctl update
echo "Update done"
echo "-----current supervisor result: -----";
supervisorctl status ${appname}
echo "-----current supervisor result done -----";
}
##########################################
# start:
# start the application
##########################################
function start_directly() {
if $isdaemon; then
#### start app backgroud #####
nohup $appexec &
echo $! > $approot/logs/pid
wait $!
else
#### start app frontgroud ####
rm -f $approot/logs/stoped
while [ ! -f $approot/logs/stoped ]; do
$appexec
sleep 30
done
fi
}
function start_by_monitor() {
echo "Start application ...";
supervisorctl start ${appname}
sleep 0.2;
echo "-----current supervisor result: -----";
supervisorctl status ${appname}
echo "-----current supervisor result done -----";
echo "START DONE";
}
##########################################
# stop:
# stop the application
##########################################
function stop_directly() {
#### check pid file ############
if [ ! -f $approot/logs/pid ]; then
echo "ERROR: no pid file: '$approot/logs/pid'"
return 1
fi
#### check cmdline ############
local pid=$(cat $approot/logs/pid)
if [ -z $pid ] || [ "$(/proc/$pid/cmdline)"x == "$appexec"x ]; then
echo "ERROR: pid($pid) is invalid or command line mismatch";
return 1
fi
#### do stop ##################
echo "stoped at: $(date +'%Y-%m-%d %H:%M:%S')" > $approot/logs/stoped
kill -9 $pid
}
function stop_by_monitor() {
echo "Stop application ...";
supervisorctl stop ${appname}
sleep 0.1;
echo "-----current supervisor result: -----";
supervisorctl status ${appname}
echo "-----current supervisor result done -----";
echo "STOP DONE"
}
##########################################
# restart:
# restart the application
##########################################
function restart_directly() {
stop_directly && start_directly
}
function restart_by_monitor() {
stop_by_monitor && start_by_monitor
}
#############################################
############## run ##########################
main $@
#############################################

File diff suppressed because it is too large Load Diff

223
Truthordare/action.json Normal file
View File

@@ -0,0 +1,223 @@
{
"version": "1",
"data": [
{
"name": "尝试在5分钟内画一个自己",
"des": "电脑端建议使用画图",
"tags": [
"绘画",
"限时"
]
},{
"name": "请在弹幕中学猫叫不少于5字",
"des": "喵~喵呜~求摸摸~",
"tags": [
"弹幕",
"猫猫",
"字数限制"
]
},{
"name": "用猫语代替接下来5分钟内要说的话",
"des": "喵?喵喵喵!",
"tags": [
"影响发言",
"口癖",
"猫猫",
"限时"
]
},{
"name": "说话带上喵的后缀10分钟",
"des": "就像这样喵~",
"tags": [
"口癖",
"猫猫",
"限时"
]
},{
"name": "说话带上desu的后缀10分钟",
"des": "就像这样desu~",
"tags": [
"口癖",
"限时"
]
},{
"name": "说话带上汪的后缀10分钟",
"des": "说话要带上汪的后缀啊汪~",
"tags": [
"口癖",
"限时"
]
},{
"name": "做10个蹲起然后说感想不少于20字",
"tags": [
"动作",
"文本类",
"挑战",
"限制字数"
]
},{
"name": "写一篇小黄文不少于200字",
"des": "任选两个现在在线的群友作为主角",
"tags": [
"文本类",
"限制字数"
]
},{
"name": "请发“小艾压50”",
"tags": [
"虚拟币"
]
},{
"name": "请发“小艾压100”",
"tags": [
"虚拟币"
]
},{
"name": "请立刻在股票购入20股至少持有30分钟",
"tags": [
"虚拟币",
"股票"
]
},{
"name": "给所有在房间内的人点一次赞",
"tags": [
"点赞",
"房间人数"
]
},{
"name": "给最近2分钟发言的所有人进行留言喵呜~喵~求摸摸",
"des": "留言或私聊均可",
"tags": [
"留言",
"房间人数",
"发言人数",
"猫猫"
]
},{
"name": "装成AI 5分钟",
"des": "装成笨蛋人工智能",
"tags": [
"影响发言",
"限时"
]
},{
"name": "发一张涩图",
"tags": [
"图片",
"GHS"
]
},{
"name": "选一个在座的人夸一夸不少于20字",
"des": "不要敷衍,对方会伤心的哦",
"tags": [
"房间人数",
"发言人数",
"字数限制"
]
},{
"name": "请1分钟内说出三个含有数字的成语",
"des": "请注意必须是成语",
"tags": [
"限时",
"知识",
"文字类"
]
},{
"name": "请2分钟内背诵并打出一首你最熟悉的诗词",
"des": "手速如何?不要复制哦~",
"tags": [
"限时",
"知识",
"文字类"
]
},{
"name": "接下来10分钟要尽量使用叠词说话",
"des": "噫~叠词词,恶心心",
"tags": [
"影响发言",
"口癖",
"限时"
]
},{
"name": "接下来5分钟发言时只能使用“呜、唔嘤”中的字",
"des": "唔!",
"tags": [
"影响发言",
"口癖",
"GHS",
"限时"
]
},{
"name": "从现在开始当复读机重复除机器人以外的人说的话持续5分钟",
"des": "从现在开始当复读机重复除机器人以外的人说的话持续5分钟",
"tags": [
"影响发言",
"限时"
]
},{
"name": "请在弹幕中发送“嘤嘤嘤,人家受委屈了啦,快来哄哄人家,要亲亲要抱抱要举高高。”",
"des": "或者录成语音发出来也行",
"tags": [
"弹幕"
]
},{
"name": "请讲一个笑话",
"des": "必须要好笑的",
"tags": [
"文字类"
]
},{
"name": "点歌或发出你音乐软件正在播放的或第一首歌",
"tags": [
"点歌"
]
},{
"name": "写一首藏头诗,包含赢家的名字",
"tags": [
"知识",
"文字类"
]
},{
"name": "发一张桌面截图",
"tags": [
"图片",
"隐私"
]
},{
"name": "发一张锁屏截图",
"tags": [
"图片",
"隐私"
]
},{
"name": "打开闹钟界面,然后截图,看看你有多少个闹钟",
"tags": [
"图片",
"隐私"
]
},{
"name": "在纸上或屏幕上写赢家的名字,然后发过来",
"des": "你写字好看吗?",
"tags": [
"图片",
"动作类"
]
},{
"name": "百度或谷歌搜索“天气”,然后截图发过来",
"des": "可能会暴露你的位置哦",
"tags": [
"图片",
"动作类",
"隐私"
]
},{
"name": "给你的水杯照一张相发过来,然后把里面的水一饮而尽。",
"des": "希望你的杯子不是满的或者装了什么奇怪的液体",
"tags": [
"图片",
"动作类",
"挑战"
]
}
]
}

455
Truthordare/question.json Normal file
View File

@@ -0,0 +1,455 @@
{
"version": "1",
"data": [
{
"name": "最喜欢在座的哪一位",
"tags": [
"有可能引起反感的问题"
]
},
{
"name": "初吻的年龄",
"des": "不会还留着初吻吧?",
"tags": [
"现实生活",
"隐私",
"有可能引起反感的问题"
]
},
{
"name": "做过最丢人的事情",
"tags": [
"现实生活"
]
},
{
"name": "身上最敏感的部位是哪里",
"tags": [
"隐私",
"有可能引起反感的问题"
]
},
{
"name": "如果有来生,你希望是男生还是女生",
"des": "顺便说说为什么",
"tags": [
"人生"
]
},
{
"name": "说出一个你的不为人知的特殊癖好",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "如果要你在座的各位中选一个作为你的伴侣你会选谁?",
"des": "谁是你最中意的人呢?",
"tags": [
"隐私",
"有可能引起反感的问题"
]
},
{
"name": "希望去哪里旅行",
"des": "哪怕你哪都不想去,也要说一个地方。",
"tags": [
"人生"
]
},
{
"name": "如果时光倒流,你想回到什么时候",
"tags": [
"人生"
]
},
{
"name": "你最难忘的事情",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "你最记恨的一件事",
"tags": [
"负面",
"现实生活",
"隐私"
]
},
{
"name": "你认为你是什么样的人",
"tags": [
"人生"
]
},
{
"name": "你认为你的伴侣是或应该是什么样的人",
"des": "大概是在问择偶标准",
"tags": [
"隐私",
"人生",
"现实生活",
"有可能引起反感的问题"
]
},
{
"name": "如果神灯可以实现你的三个愿望,你想许什么愿",
"des": "许“再实现X个愿望”这种的愿是禁止事项",
"tags": [
"人生"
]
},
{
"name": "最喜欢的电视剧或电影或动漫",
"des": "无论你看不看,至少说出一个",
"tags": [
"爱好"
]
},
{
"name": "你是咸党还是甜党",
"tags": [
"派别"
]
},
{
"name": "你爱不爱吃香菜",
"des": "不是花泽香菜",
"tags": [
"派别"
]
},
{
"name": "请向在座的某个人表白",
"des": "也可以匿名私聊,看看谁是那个中奖的",
"tags": [
"有可能引起反感的问题"
]
},
{
"name": "你最尴尬的一件事",
"tags": [
"现实生活",
"隐私"
]
},
{
"name": "夸夸赢家不少于20字",
"des": "可不要敷衍哦",
"tags": [
"娱乐"
]
},
{
"name": "你最不喜欢的人是什么样的",
"tags": [
"负面",
"有可能引起反感的问题",
"现实生活",
"隐私"
]
},
{
"name": "说出你的拿手好菜",
"tags": [
"现实生活"
]
},
{
"name": "上一顿饭吃的什么",
"tags": [
"现实生活"
]
},
{
"name": "有人在你旁边放屁,你会怎么做",
"tags": [
"现实生活",
"有可能引起反感的问题"
]
},
{
"name": "你裸睡吗",
"tags": [
"隐私",
"现实生活",
"有可能引起反感的问题"
]
},
{
"name": "网络上的你与真实的你的区别",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "最爱吃的食物",
"tags": [
"现实生活"
]
},
{
"name": "你选择可口可乐还是百事可乐",
"tags": [
"派别"
]
},
{
"name": "你选择雪碧还是七喜",
"tags": [
"派别"
]
},
{
"name": "麦当劳还是肯德基?",
"tags": [
"派别"
]
},
{
"name": "最讨厌的食物",
"tags": [
"现实生活"
]
},
{
"name": "喝过最难喝的饮料",
"tags": [
"现实生活"
]
},
{
"name": "爱情、事业、家庭,请对这三个进行排序",
"tags": [
"隐私",
"现实生活",
"人生",
"敏感问题",
"有可能引起反感的问题"
]
},
{
"name": "最近一件让你开心的事情",
"des": "你想到了高兴的事情",
"tags": [
"隐私"
]
},
{
"name": "最害怕的事物",
"des": "恐高?怕黑?或者什么别的?",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "怕虫子吗",
"des": "蜘蛛、蟑螂、蚂蚁...",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "觉得自己像是那种动物",
"tags": [
"人生",
"娱乐"
]
},
{
"name": "如果可以,想成为哪种动物",
"des": "想要转生成什么动物呢?",
"tags": [
"人生",
"娱乐"
]
},
{
"name": "想成为什么样的人",
"tags": [
"人生"
]
},
{
"name": "什么样的人在你看来是成功的",
"tags": [
"人生"
]
},
{
"name": "你见过的最完美的人是什么样的",
"des": "是你理想中的ta吗",
"tags": [
"人生"
]
},
{
"name": "你最令人意外的一面是什么",
"tags": [
"隐私",
"现实生活",
"人生"
]
},
{
"name": "考过的最低分的科目及分数",
"des": "你不会是个学霸吧",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "最近一次做的春梦的时间和内容",
"des": "听说做春梦是个很刺激的体验呢",
"tags": [
"隐私",
"现实生活",
"敏感问题",
"有可能引起反感的问题"
]
},
{
"name": "你现在身上穿戴的所有物品的大概估价总和",
"des": "衣服,鞋,手表手环,眼镜...",
"tags": [
"隐私",
"现实生活",
"敏感问题",
"有可能引起反感的问题"
]
},
{
"name": "撒过最成功的一个谎",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "多久洗一次澡",
"des": "或许和时间地点有关系?",
"tags": [
"隐私",
"现实生活",
"敏感问题",
"有可能引起反感的问题"
]
},
{
"name": "情人节最想收到什么礼物?",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "你最希望改掉自己那些缺点或性格?",
"tags": [
"隐私",
"人生",
"现实生活"
]
},
{
"name": "最不能接受别人用什么东西或物品来打你?",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "最不能接受别人做什么事?",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "最近胖或瘦了多少斤?",
"des": "噔 噔 咚",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "大部分情况下,你是主动的还是被动的一方?",
"des": "这算不算直接问强势还是软萌呢~",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "你爱喝茶还是爱喝咖啡?",
"des": "都不爱喝的话就选一样吧",
"tags": [
"派别"
]
},
{
"name": "你会选择茉莉花茶还是茉莉蜜茶?",
"tags": [
"派别"
]
},
{
"name": "你的发型是什么样?",
"des": "描述一下,起码要有个画面感~",
"tags": [
"现实生活"
]
},
{
"name": "你怎么看待同性恋?",
"tags": [
"有可能引起反感的问题",
"敏感问题"
]
},
{
"name": "你最近追的一本小说或一部番或一个电视剧",
"des": "以及投入在上的时间、金钱",
"tags": [
"隐私"
]
},
{
"name": "你梦想的职业是什么",
"des": "和现在的你差距大吗",
"tags": [
"现实生活",
"人生"
]
},
{
"name": "你恐高吗",
"des": "多高开始恐高?",
"tags": [
"隐私",
"现实生活"
]
},
{
"name": "你喜欢暗色还是亮色",
"des": "深色还是浅色,亮色还是暗色",
"tags": [
"喜好"
]
},
{
"name": "你喜不喜欢五仁月饼",
"des": "不喜欢吃月饼的话你可以换成其他带馅的,五仁馅",
"tags": [
"派别"
]
}
]
}