mizagbf / mizabot Goto Github PK
View Code? Open in Web Editor NEWPython 3 Granblue Fantasy-themed Discord Bot
License: MIT License
Python 3 Granblue Fantasy-themed Discord Bot
License: MIT License
turns out there's another discord bot named Miza written in Python:
https://github.com/thomas-xin/Miza
๐ค
Commands under the gbf_access cog don't seem to work
Here's the output I'm getting from the bot
Although it does work on the /gbfg/ discord
The heroku log shows this
2021-05-08T06:35:22.101422+00:00 heroku[worker.1]: Starting process with command
python3 bot.py 2021-05-08T06:35:22.787417+00:00 heroku[worker.1]: State changed from starting to up 2021-05-08T06:35:30.576604+00:00 app[worker.1]: Invalid key: image_upload 2021-05-08T06:35:30.576651+00:00 app[worker.1]: Invalid key: debug_update 2021-05-08T06:35:30.793872+00:00 app[worker.1]: Invalid key: you_private 2021-05-08T06:43:29.244062+00:00 app[worker.1]: /app/.heroku/python/lib/python3.9/site-packages/pydrive2/auth.py:187: ResourceWarning: unclosed file <_io.TextIOWrapper name='settings.yaml' mode='r' encoding='UTF-8'> 2021-05-08T06:43:30.502809+00:00 app[worker.1]: /app/.heroku/python/lib/python3.9/site-packages/pydrive2/auth.py:187: ResourceWarning: unclosed file <_io.TextIOWrapper name='settings.yaml' mode='r' encoding='UTF-8'> 2021-05-08T06:55:30.802789+00:00 app[worker.1]: /app/.heroku/python/lib/python3.9/site-packages/yaml/constructor.py:49: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.18.53.222', 43204), raddr=('142.250.65.74', 443)> 2021-05-08T06:55:30.803021+00:00 app[worker.1]: /app/.heroku/python/lib/python3.9/site-packages/yaml/constructor.py:49: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.18.53.222', 53294), raddr=('172.217.15.74', 443)> 2021-05-08T06:55:30.808441+00:00 app[worker.1]: /app/.heroku/python/lib/python3.9/site-packages/pydrive2/auth.py:187: ResourceWarning: unclosed file <_io.TextIOWrapper name='settings.yaml' mode='r' encoding='UTF-8'>
I followed the wiki instructions and referenced #1 on getting the bot up, as far as the config goes I've only got debug_channel, debug_server, and owner filled out and I've 0'd out the majority of the rest.
Some features require additional setup to work.
The process isn't detailed anywhere on purpose.
Which means it's not a bug.
The reasons is simply the bot accessing to the game could be used for actions potentially breaking the game Terms of Services, if anyone modified it.
As such, don't expect help from me.
Hello
Trying to make your bot for a server of my own and after following the instructions in the setup page i got it running on Heroku (python worker3 bot worker online and working and the deploy commands for both cloning the repository localy on my machine or update on Heroku works too) but it still won't go online in Discord on neither the debug server or the server i intend to use it, copied the bot token and the servers ID/channels in config.json already.
Can you help me in understanding what i might do wrong please?
As stated in the discord.py changelog, the next major update will have breaking changes.
As such, I'm planning an overhaul of how the bot works, which will be the 8.0 version.
For simplicity sake, I'll try to keep the current config.json
and save.json
format (worst case scenario, save.json
will be automatically converted to the new format).
The cogs, however, will probably change. If you developed your own, don't expect them to work right away.
Hello,
I've been looking at issue #1 , where the load() error is present, but for some reason i can't get the error done.
Problem :
load(): Extra data: line 14 column 5 (char 173)
Thanks for the help.
With Heroku's free plans going down soon, I'll have to find an alternative for my bot.
Expect some down times as I experiment stuff or, in the worse case scenario, for me to abandon the project if I don't find something satisfying.
How exactly do you link a granblue account for the bot to use, like what do you have to put for the arguments uid, ck and ua.
Thanks.
Hi, is there a place where I can dm you? I have some question regarding the bot.
Following discord.py death, the bot will stay up until it stops working.
If a good fork/alternative comes up before then, I'll port it over.
No new development will be made until then, just bug fixes.
If not, expect the bot to die.
That's all.
Context: https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1
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.