taotnpwaft / discordbot Goto Github PK
View Code? Open in Web Editor NEWThis is the code for our Discord bot.
License: GNU General Public License v3.0
This is the code for our Discord bot.
License: GNU General Public License v3.0
I inadvertently named the .vs folder ,vs for Visual Studio.
Rename to the correct .vs
Also test the configurations for Visual Studio.
This enhancement involves implementing discord.ext.commands.Cog
class and separating the functionality of the bot into different Python scripts. The goal here is to have all of the commands and features be located in a new cogs
folder so that:
For some unknown reason my configuration for this project is using PyLint && PyLance instead of Flake8 and black which are already installed with pip. So I don't know if even PyLint and PyLance are doing this properly the same way that Flake and black are. These may or may not be actual issues.
errorhandler.py
Line 10 & 11: Unable to import 'disnake' pylint(import-error)
Import "disnake.ext" could not be resolved Pylance[reportMissingImports]
Line 14: Missing class docstring pylint(missing-class-docstring)
general.py
Line 47 has "I'm" should be "I'm"
moderation.py
Line 13: Too few public methods (0/2) pylint(too-few-public-methods)
Missing class docstring pylint(missing-class-docstring)
Line 36: str | unsupported operand type(s) for | pylint(unsupported-binary-operation)
Alternative syntax for unions requires Python 3.10 or newer Pylance
Line 148 Argument name "id" doesn't conform to snake_case naming style pylint(invalid-name)
music.py
Line #100 (parameter) self: Self@Music
Too many positional arguments for method call pylint(too-many-function-args)
The current files:
Don't appear to work as Microsoft describes in their Pyton Debug, etc. documentation.
These need to be fixed.
The language and linter, editor, etc. for Python need to be fixed so that the Python extension does not try to do wierd things like install unnesseccary linters, etc.
Needs a README.md file that is more descriptive and describes the bot features.
This project needs a .vs folder with and VS project files.
Also need to finish:
.vscode folder
.vscode/extensions.json already has the reccomended extensions for Python development, although this environment needs to be tested.
I could not find good Python settings
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.