inert-bot / discord-bot Goto Github PK
View Code? Open in Web Editor NEWOpen Source discord bot written in python
Home Page: https://inert.blotz.dev/discord-bot/
License: GNU General Public License v3.0
Open Source discord bot written in python
Home Page: https://inert.blotz.dev/discord-bot/
License: GNU General Public License v3.0
when a poll happens, add the time in seconds when it runs to a sorted array
then restart the discord task which waits till the next closest poll is due (asyncio.sleep(time))
Need to work cpp module for better packaging
The code got broken when updating the codebase structure
**Categories**
# ot.commands.admin
- Administration commands
# ot.commands.fun
- Full of lots of fun commands
# ot.commands.misc
- Misc commands
# ot.commands.poll
- Polling commands
run .help command <command> or .help group <group> to get more info```
inert | [06/Mar/2022 14:26:06] ERROR [discord_bot.sqlHandler.execute:85] 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE guild_id=950036111848267786' at line 1
inert | Traceback (most recent call last):
inert | File "/root/.local/lib/python3.9/site-packages/mysql/connector/connection_cext.py", line 523, in cmd_query
inert | self._cmysql.query(query,
inert | _mysql_connector.MySQLInterfaceError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE guild_id=950036111848267786' at line 1
inert |
inert | During handling of the above exception, another exception occurred:
inert |
inert | Traceback (most recent call last):
inert | File "/code/src/discord_bot/sqlHandler.py", line 81, in execute
inert | c.execute(sql, params)
inert | File "/root/.local/lib/python3.9/site-packages/mysql/connector/cursor_cext.py", line 269, in execute
inert | result = self._cnx.cmd_query(stmt, raw=self._raw,
inert | File "/root/.local/lib/python3.9/site-packages/mysql/connector/connection_cext.py", line 528, in cmd_query
inert | raise errors.get_mysql_exception(exc.errno, msg=exc.msg,
inert | mysql.connector.errors.ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE guild_id=950036111848267786' at line 1```
SQL Code has mistakes and errors
ud libary crashes when making request
possibly consider implementing the api by hand rather than adding a dependency
XKCD implementation isnt working
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.