amiyabot-game-hsyhhssyy-duel's People
amiyabot-game-hsyhhssyy-duel's Issues
超时回复好像有问题
2022-12-01 02:27:47,719 [ Bot][ ERROR] handler error: Traceback (most recent call last):
File "/root/miniconda3/envs/Amiya-Bot/lib/python3.8/site-packages/amiyabot/log/manager.py", line 100, in catch
yield
File "/root/miniconda3/envs/Amiya-Bot/lib/python3.8/site-packages/amiyabot/init.py", line 59, in __message_handler
await message_handler(self, event, message)
File "/root/miniconda3/envs/Amiya-Bot/lib/python3.8/site-packages/amiyabot/factory/messageHandler.py", line 63, in message_handler
reply = await handler.action(data)
File "/root/miniconda3/envs/Amiya-Bot/lib/python3.8/site-packages/amiyabot/factory/messageHandlerDefine.py", line 132, in action
return await self.function(data)
File "/root/Amiya-Bot/plugins/amiyabot-game-hsyhhssyy-duel-1_1/main.py", line 81, in _
return Chain(choice,at=False).text('对方30秒内未响应同意')
BotAccounts未被定义
该插件正常使用一周后突然报错,卸载重装依旧如此。下面是群员开枪后兔兔返回的结果,请大佬看看要如何解决qaq
handler error: Traceback (most recent call last):
File "amiyabot\log\manager.py", line 100, in catch
File "amiyabot_init_.py", line 67, in __message_handler
File "amiyabot\factory\messageHandler.py", line 59, in message_handler
File "amiyabot\factory\messageHandlerDefine.py", line 138, in action
File "C:\Users\Administrator\Desktop\AmiyaBot-v6.0.12-fix-master\plugins\amiyabot-game-hsyhhssyy-duel-1_4\main.py", line 160, in _
await mute(data,duel_victim,60*3)
File "C:\Users\Administrator\Desktop\AmiyaBot-v6.0.12-fix-master\plugins\amiyabot-game-hsyhhssyy-duel-1_4\main.py", line 42, in mute
map: dict = BotAccounts.get(appid=data.instance.appid)
NameError: name 'BotAccounts' is not defined
类型不匹配导致无法开始游戏
choice.user_id 为int型
duel_victim 为 string型
导致 choice.user_id == duel_victim 判断值始终为false
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.