Comments (5)
Glad to be of help and glad you liked it
In that case, I'll mark this issue as closed!
from palcon-discord.
That's an interesting error, I'm personally on python 3.12.1 (The latest version)
and don't see anything too breaking in the latest python patch that would cause this problem.
Are you on an older version of the bot?
What operating system are you on?
It might also be good to note, that the method you sent to that link to in client.py
isn't actually used in the bot anywhere as it's supposed to be for testing
Thanks for your cooperation!
from palcon-discord.
I'm using 3.12 as well, and the TOML parser in the standard library interpreted the data type properly for me
I genuinely have no clue why it might be throwing errors for you 🤔
from palcon-discord.
Can't help but notice that your repo uses env rather than toml
os.envron uses strings only (see the docs) so if you're getting this issue with your repo and not this repo specifically, that might be the reason.
os.environ
A mapping object where keys and values are strings that represent the process environment.
os.getenv(key, default=None)
Return the value of the environment variable key as a string if it exists, or default if it doesn’t. key is a string. Note that since getenv() uses os.environ, the mapping of getenv() is similarly also captured on import, and the function may not reflect future environment changes.
Do let us know whether this is just an issue with your port of our source code to your own bot, or if it's affecting a clone of our project running on your device!
from palcon-discord.
os.envron uses strings only (see the docs) so if you're getting this issue with your repo and not this repo specifically, that might be the reason.
This was the problem! Thank you both for the quick reply! ❤️
Again nice work on the bot!
from palcon-discord.
Related Issues (16)
- ModuleNotFoundError: No module named 'tomllib' HOT 3
- [BUG] ModuleNotFoundError: No module named 'discord' HOT 5
- [BUG] If an in-game setting that is not English is entered, the bot cannot output it. HOT 16
- Cannot start bot HOT 12
- [Unable to fetch/send metadata of connected players: list index out of range] HOT 14
- Sync Command Discussion HOT 1
- Bot on integration page? Need help pls HOT 2
- [BUG] Unable to parse player info for player HOT 7
- [SUGGESTION] Posts in the Discord Channel HOT 6
- [BUG] Received few bytes! HOT 2
- [SUGGESTION] join/leave HOT 8
- Slash Interactions Should Not Timeout Before RCON Response HOT 9
- [BUG] Admin commands not checking perms properly HOT 3
- [SUGGESTION] Allow starting server as subprocess via discord
- [BUG] after patch 1.5 (palworld) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from palcon-discord.