ballsdex-team / ballsdex-discordbot Goto Github PK
View Code? Open in Web Editor NEWCollect and exchange countryballs on Discord
License: Other
Collect and exchange countryballs on Discord
License: Other
Ok so my friend is in the admin panel, but whenever he tries to create a ball, it gives him an error code 401 could you tell me what's wrong with it?
"An unexpected error occurred"
"Hardware assisted virtualization and data execution protection must be enabled in the BIOS. See https://docs.docker.com/desktop/windows/troubleshoot/#virtualization"
what do i do?
Skipping virtualenv creation, as specified in config file.
stateballsdex2-bot-1 | ------------------ BallsDex bot ------------------
stateballsdex2-bot-1 | Collect countryballs
stateballsdex2-bot-1 | Discord bot made by El Laggron
stateballsdex2-bot-1 |
stateballsdex2-bot-1 | Bot version: 1.4.0
stateballsdex2-bot-1 | Discord.py version: 2.2.0a
stateballsdex2-bot-1 |
stateballsdex2-bot-1 | 2023-02-17 19:46:50 ERROR ballsdex Token not found!
stateballsdex2-bot-1 | You must provide a token with the BALLSDEXBOT_TOKEN env var.
i have it named .env, i copied and pasted it and i entered the token? what happened
With the introduction of special instances with custom backgrounds, most of the logic behind shiny spawn has been coded again.
Shiny spawn is still hard-coded, would be better to remove that and make shiny balls spawn the same way event balls do.
TODO:
Simple leaderboard that shows the users with the most balls.
I have been making my own version of BallsDex, called MicroDex, for micronations. I have gotten setup to work before, but when I restarted, I cant start the Bot. Here is more details:
I clone the repo,
Then I create the .env
I run docker compose build
Then I run docker compose up
. This should start the bot, as it has in the past, but now i get exit code 1
. Everything in the container is started, except the bot.
Help
I use Microsoft Edge and i turn on the bot, i try to enter the ball instance section and then appears this:
{"detail":"Can't found field 'count' in model <class 'ballsdex.core.models.BallInstance'>"}
i cant turn the txt file into an env help
I am an administrator on a server, but none of the Admin commands work.
Differentiate countryballs with slight differences in stats when they spawn, kind of like EV in Pokémon.
I've made a bot like BallsDex (around 18 february 2023) , sometimes (very rarely) balls spawns correctly but most of the time the balls doesn't spawn even with sending a lot of messages. How can I fix this ?
cant access the admin panel
BUT i did notice that when i ran docker compose up -d
it said admin-panel: error
so that might have something to do with it
Implement an economy system:
Ability to set certain countryballs as favorite so that they show up first.
I am runing the bot on windows now, but i want it to Transfer to a linux server. Where are the Countryballs files located?
Make use of the stats and capacities for a battle mode.
So, I'm making my own bot, but I met a problem. When I type in .env nothing happens it just changes the name and doesn't turn into a code could you help me?
time="2023-01-18T20:29:44+01:00" level=warning msg="The "POSTGRES_PASSWORD" variable is not set. Defaulting to a blank string."
time="2023-01-18T20:29:44+01:00" level=warning msg="The "POSTGRES_PASSWORD" variable is not set. Defaulting to a blank string."
What about this i type my postgres password and this in cmd pls help me
I've made a discord bot like BallsDex but the balls doesn't spawn or it is extremely rare (even with sending a lot of messages).
Add a new slash command to view the player’s progression in the BallsDex (currently possessed countries, missing ones).
Also make sure this does not query the database too much.
When initiating an exchange, the target player cannot see the proposed countryball before selecting one himself. The proposed ball should be shown in the first message.
Just checking if the caught countryball wasn't present in the previous user's collection, as a way to show progress.
Phone users cannot open the "Catch me!" menu. It Shows them that the interactions failed. It after Makes people sad and angry. Please fix it.
bot is offline
for some reason, the admin commands only work for the first admin. no others do. how would I fix this?
(what I mean is the other admin Ids get told that they don't have permission when trying to use it)
Need to design a basic website as a homepage to the bot. This needs the following
I guess this will be done using jekyll.
Need to ditch eval commands and implement useful commands for bot admins, including
/last
to view the latest countryball caught/help
to see a usage guide/about
for various info about the botBooting the bot takes about 5 minutes, waiting for all shards to connect, which is very annoying when applying multiple hotfixes.
This project fixes the issue by keeping alive the shards for a while, to let the bot resume connection immediately after a reboot.
This could be implemented using docker compose.
The admin panel does not work and when I go on it, it says hmmm cannot find this page is there a way to fix this? If so, please tell me how to.
iscord.client logging in using static token
2023-02-07 17:22:48 CRITICAL ballsdex The main bot task didn't handle an exception and has crashed
Traceback (most recent call last):
File "/home/runner/BallsDex-DiscordBot/ballsdex/main.py", line 136, in bot_exception_handler
bot_task.result()
File "/home/runner/BallsDex-DiscordBot/venv/lib/python3.10/site-packages/discord/client.py", line 745, in start
await self.login(token)
File "/home/runner/BallsDex-DiscordBot/venv/lib/python3.10/site-packages/discord/client.py", line 580, in login
data = await self.http.static_login(token)
File "/home/runner/BallsDex-DiscordBot/venv/lib/python3.10/site-packages/discord/http.py", line 801, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "/home/runner/BallsDex-DiscordBot/venv/lib/python3.10/site-packages/discord/http.py", line 680, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 429 Too Many Requests (error code: 0): You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent this moving forward.
2023-02-07 17:22:48 WARNING ballsdex Attempting to die as gracefully as possible...
2023-02-07 17:22:48 INFO ballsdex Shutting down the bot...
I won't let my computer turned on forever, I don't want to pay more taxes.
I cant go to admin panel because it says that this site does not enable secure connection, please help
A way to get super-rare countryballs with an aesthetic variation. May be a golden background or something else.
A command to view the history of exchanged countryballs.
This probably requires creating a new table for exchanges while dropping the ˋtrade_player` field of ball instances.
I try logging into the admin panel but it says "login_failed" even though I put my password and username correctly
I am not sure if the issue is with the admin panel or if I might have made a spelling mistake when setting the password
For anti-cheat purposes, and also because nice-looking stats are cool, I'll try to setup a Grafana panel for the bot.
Some parts may be public, others private, here's my current plan.
These stats should be able to separate servers and players.
That's more sensitive, need to talk to users and Discord about how I will do this. Basically stats for anti-cheat purposes
I'm having issues with docker, no matter what I try it won't work, I kept getting errors while opening docker desktop, I reset my computer but then after that I couldn't even download it and I don't know what I'm doing wrong
the admin panel does not load.
500
Oops… You just found an error page
We are sorry but our server encountered an internal error
this happens when I try to load the site
On Docker whenever I do "docker compose up" it works perfectly, but then stops and says Error Code 5001 Missing access. And I'm trying to fix it, could you help me?
on my device, I fixed all of my problems. however, my friend wanted me to host the bot for him as well, and so I encountered the error of both of them trying to use the 8000 port, wiping my already created balls. I got on my old device, and now I'm encountering the error of "unable to connect to database" generating a constant 500 error on the website. please tell me how to fix this if you've encountered it.
i need help with updating docker
what does it mean by "root of the repository" (im making my own variant of the bot called Britishdex for britishballs)
i've never worked with docker before
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.