unasuke / bot-bahamut Goto Github PK
View Code? Open in Web Editor NEWRuboty bot at TeamUnasuke(Discord)
License: MIT License
Ruboty bot at TeamUnasuke(Discord)
License: MIT License
stat.ink内にあるAPIを使ってマップとルールを取得し
discord上でコマンドを叩くとマップとルールを表示する
スマホアプリからマップとルール確認が面倒
bot-bahamut/actions/ikasuke.rb
Line 19 in 3e69402
docker-compose up bot
でbotが立ち上がるようになっている@nikuzuki 頼んだ
9月9日にスプラ3がリリースされます。
それに伴いギアのブランドなど変わりますので対応する必要があります。
ちゃんとした詳細が出てからでもいいので対応していきましょう。
メイン性能がない
爆風軽減とマーキング短縮は1つになった
ブランドごとに付きやすいギアとか
持ってるデータが古いので修正する必要がある
#52 の影響?
2022-05-31T10:48:53.985618+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] Exception: #<Discordrb::Errors::MessageTooLong: Message over the character limit (2049 > 2000)>
2022-05-31T10:48:53.985641+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/discordrb-3.3.0/lib/discordrb/api/channel.rb:87:in `rescue in create_message'
2022-05-31T10:48:53.985653+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/discordrb-3.3.0/lib/discordrb/api/channel.rb:75:in `create_message'
2022-05-31T10:48:53.985665+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/discordrb-3.3.0/lib/discordrb/bot.rb:367:in `send_message'
2022-05-31T10:48:53.985677+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-discord-1.0.0/lib/ruboty/adapters/discord.rb:22:in `say'
2022-05-31T10:48:53.985695+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/robot.rb:39:in `say'
2022-05-31T10:48:53.985709+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/message.rb:44:in `reply'
2022-05-31T10:48:53.985721+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/actions/ikasuke.rb:96:in `gearpower_list'
2022-05-31T10:48:53.985745+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/handlers/ikasuke.rb:25:in `gpower'
2022-05-31T10:48:53.985761+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/action.rb:16:in `call'
2022-05-31T10:48:53.985778+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/handlers/base.rb:32:in `block in call'
2022-05-31T10:48:53.985789+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/handlers/base.rb:31:in `each'
2022-05-31T10:48:53.985801+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/handlers/base.rb:31:in `inject'
2022-05-31T10:48:53.985812+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/handlers/base.rb:31:in `call'
2022-05-31T10:48:53.985824+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/robot.rb:29:in `block in receive'
2022-05-31T10:48:53.985834+00:00 app[bot.1]: [ERROR : et-40 @ 2022-05-31 10:48:53.985] /app/vendor/bundle/ruby/2.7.0/gems/ruboty-1.3.1/lib/ruboty/robot.rb:29:in `each'
たしかにって思った
@hama7230 任せた
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.