paul-sama / splatoon3-bot Goto Github PK
View Code? Open in Web Editor NEW基于 nonebot2 框架的 splatoon3 机器人,支持kook,telegram 和 discord
Home Page: https://t.me/splatoon3_bot
基于 nonebot2 框架的 splatoon3 机器人,支持kook,telegram 和 discord
Home Page: https://t.me/splatoon3_bot
群聊@所有人会使得机器人弹出留言板,比较影响氛围,有什么命令可以取消吗
02-20`` 00:13:51 [ INFO] nonebot.matcher:830 | Matcher(type='message', module=splatoon3_bot.plugins.splatoon3_nso.cmd_set, lineno=329) running complete
sed:-e 表达式 #1,字符 1:未知的命令:“'”
sed:-e 表达式 #1,字符 1:未知的命令:“'”
sed:-e 表达式 #1,字符 1:未知的命令:“'”
Exception in thread Thread-11 (sync_stat_ink_func):
Traceback (most recent call last):
File "D:\Python3.10\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "D:\Python3.10\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Hana-NAS\Desktop\Splatoon-TG\splatoon3-bot\splatoon3_bot\plugins\splatoon3_nso\sp3job.py", line 148, in sync_stat_ink_func
msg = get_post_stat_msg(u.id)
File "C:\Users\Hana-NAS\Desktop\Splatoon-TG\splatoon3-bot\splatoon3_bot\plugins\splatoon3_nso\sp3job.py", line 260, in get_post_stat_msg
res = exported_to_stat_ink(u.id, u.session_token, u.api_key, u.acc_loc)
File "C:\Users\Hana-NAS\Desktop\Splatoon-TG\splatoon3-bot\splatoon3_bot\plugins\splatoon3_nso\sp3job.py", line 232, in exported_to_stat_ink
rtn = subprocess.run(cmd.split(' '), stdout=subprocess.PIPE).stdout.decode('utf-8')
File "D:\Python3.10\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\Python3.10\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\Python3.10\lib\subprocess.py", line 1440, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] 拒绝访问。
1.貌似是sed的命令格式有问题?能否提供解决方案。
2.目前只有tg有代理配置,能否添加访问NSO和上传对战记录到stat.ink的代理配置。
先提前感谢解答
How can i build my own splatoon3-bot for TG, i try docker, but it can't work. First, I edit token
from .env.sample
, then using commands docker-compose up -d
. From logs it seems like open the http:1270.0.0.1:8080 url, I active but get none.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.