Moved the main script into the lib directory and renamed it main.py. This will keep things a bit more organized as we start splitting things into separate files.
Added an sqlite3 database. Currently the file is always named bot.db. We should make this configurable at some point.
Added a setupDatabase function. This function creates our tables if they don't exist and seeds the tables with any initial values if they're empty.
Added a few functions for interacting with items.
Added a -describe command that takes the name of an item and replies with the item's description.
Things I did:
lib
directory and renamed itmain.py
. This will keep things a bit more organized as we start splitting things into separate files.bot.db
. We should make this configurable at some point.setupDatabase
function. This function creates our tables if they don't exist and seeds the tables with any initial values if they're empty.-describe
command that takes the name of an item and replies with the item's description.