Closed faluhub closed 2 years ago
Error at line 86, it should be ==
./Teapot.py:86:31: E999 SyntaxError: invalid syntax
if file === "cmds.py": continue
^
E999 SyntaxError: invalid syntax
Saw the new issue, fixing rn
lmao why do I forget so much
there we go
I will try to run it later when i get back to home
I will try to run it later when i get back to home
alright
Hello, seem like there is an error when running the bot
➜ py .\Teapot.py
_____ _
|_ _|__ __ _ _ __ ___ | |_
| |/ _ \/ _` | '_ \ / _ \| __|
| | __/ (_| | |_) | (_) | |_
|_|\___|\__,_| .__/ \___/ \__|
by ColaIan |_| & RedTea
Running Teapot.py v0.0.1.7
You are currently using an unlisted version!
Initializing bot...
Traceback (most recent call last):
File ".\Teapot.py", line 111, in <module>
TeapotBot().run(teapot.config.bot_token())
File ".\Teapot.py", line 70, in __init__
self.intents = discord.Intents.default()
AttributeError: can't set attribute
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Please properly test your code on your local machine before creating a pull request. Also, only enable the gateway intents that the bot is going to use, do not randomly enable unused gateway intents, and definitely not attempt to enable all of them.
Please properly test your code on your local machine before creating a pull request. Also, only enable the gateway intents that the bot is going to use, do not randomly enable unused gateway intents, and definitely not attempt to enable all of them.
the previous patch literally worked on the workflow console..........
Please properly test your code on your local machine before creating a pull request. Also, only enable the gateway intents that the bot is going to use, do not randomly enable unused gateway intents, and definitely not attempt to enable all of them.
the previous patch literally worked on the workflow console..........
Python is a non-statically typed scripting language, not a compiled language like Java. You will not know about logic and type errors until you run the code by yourself. The workflow only runs the unit tests and ensures that there are no syntax errors. I say again, please test it properly on your local machine first.
the previous patch literally worked on the workflow console..........
Currently github action only check for Syntex error and dependency, there will be unit testing in future
This pull request was denied for one or more of the following reasons:
Please reopen another pull request if you are fully ready to contribute to Teapot.py. Thank you!
Made everything a tad better (haven't tested if it works yet, please respond here with the error if it does not.)