Skip to content

SQLite Discord Bot is a Discord bot that allows users to connect to and execute SQLite database commands through straightforward chat commands.

License

Notifications You must be signed in to change notification settings

YonLiud/SQLite-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLite Discord Bot

SQLite Discord Bot is a discord bot, able to connect and manage any SQLite Database.

  • No Premium
  • Access to SQLite .db file
  • Full SQLite shell access

About

SQLite Discord Bot is a lightweight python based bot that's built by Yon Liud for easier access to SQLite Shell, without the hassle of remote accessing. A simple setup is required for running the bot,

#1589F0 Setup

SQLite Discord Bot uses a small number of python modules to work properly:

And of course SQLite Discord Bot itself is open source with a public repository on GitHub.

#f03c15 Installation

SQLite Discord Bot requires Python3 & Discord.py to run.

Install the modules.

$ cd Discord-Database-Bot
$ pip3 install -r requirements.txt

Insert bot's token

How to get a token: https://discordpy.readthedocs.io/en/latest/discord.html

After recieving the token, open the SQLite-Discord-Bot Folder & replace your token into the .env file

Example of token inside the .env:

TOKEN=NzU0NjIzNTQzNTI2MDMxNDgy.X13b8Q.e0V0cwwmc_BYeMHwvJovFQhLBfk

(the token is no longer valid, DO NOT ATTEMPT TO INSERT TOKEN TO PROJECT)

#c5f015 Running Bot

$ python3 app.py

The bot will create a role called 'dmb'

#00FF00 In Server Use

For being able to execute any command by SQLite Discord Bot, you must assign users with the created 'dmb' role,

for help:

sql>help

#9400D3 Basic Commands

Name Syntax
Create Table sql>CREATE TABLE IF NOT EXISTS name (parameters)
Select a Value from Table sql>SELECT column-name FROM table-name WHERE type='identifier'
Insert a Value to row sql>NSERT INTO table-name (parameters) VALUES (values of parameters)
If you require additional help with command, check out this SQLite Cheat Sheet

#FF69B4 Help

for help, run the command sql>help, for support, please contact me at my Discord! y0nliud#1545. Hopefully I will be able to assist you!

License

MIT

Free Software, Hell Yeah!

About

SQLite Discord Bot is a Discord bot that allows users to connect to and execute SQLite database commands through straightforward chat commands.

Topics

Resources

License

Stars

Watchers

Forks