Giter Site home page Giter Site logo

inert-bot / discord-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 136 KB

Open Source discord bot written in python

Home Page: https://inert.blotz.dev/discord-bot/

License: GNU General Public License v3.0

Dockerfile 2.56% Python 95.32% C++ 1.50% Shell 0.63%
discord-py discord-bot discordpy discordbot python-3

discord-bot's Issues

Admin commands

  • kick
  • ban
  • warn
  • mute
    • implment ticketing system with threads and shit (pretty poggers idea)

Misc commands

  • run code (piston API)
  • urban dict search
  • other commands from gregory (ask me in dms)

Help command output broken

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```

Exp port/fix

  • Port over mee6 exp code
  • Add new mentions based tracking method

SQL errors

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

YAGPBD

  • role tables
  • undelete (ud -a)
  • purge

urban dict

ud libary crashes when making request
possibly consider implementing the api by hand rather than adding a dependency

Suggestions

  • suggest (general)
    • suggest emote
    • suggest sticker (need server boosters lmfao)

XKCD

XKCD implementation isnt working

  • unused imports

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.