Giter Site home page Giter Site logo

mizagbf / mizabot Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 13.0 5.37 MB

Python 3 Granblue Fantasy-themed Discord Bot

License: MIT License

Python 100.00% Procfile 0.01%
python3 discord-bot discord-py gbf granbluefantasy asyncio discord game heroku discordapp

mizabot's People

Contributors

dependabot[bot] avatar mizagbf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mizabot's Issues

Can't create credential.json

hi miza, i tried to run your bot in my own server but it doesn't generate credentials.json in my locals environment.

i have been following your guide but this error is pop out
image

and here's my settings.yaml
image

loadData error when deploying

hello i have a lil problem again, it's seems when i tried to up the bot in local or production env. i got this error

image

and here's my config.json

image

is my config file setup is correct ady or something wrong in somewhere else ?

gbf_access cog not working

Commands under the gbf_access cog don't seem to work
Here's the output I'm getting from the bot
image

Although it does work on the /gbfg/ discord
image

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.

About accessing the game

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.

Offline on Discord

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?

About the v8.0

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.

Question

Hi, I have some question regarding the bot.
My friend show this to me and I tried to copy it but
I'm having some trouble setting it up.

AUTH

load() error

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.

End of MizaBOT

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.

Granblue account functionality

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.

Questions

Hi, is there a place where I can dm you? I have some question regarding the bot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.