---
# System prepended metadata

title: Discord

---

import beem
import discord
import sqlite3


#DB IO
#####

    # 4 functions:
    # - add user
    # - update user (delete)
    # - search user

def create_connection(db_file):
    """ create a database connection to a SQLite database """
    conn = None
    try:
        conn = sqlite3.connect(db_file)
        print(sqlite3.version)
    except Error as e:
        print(e)
    finally:
        if conn:
            conn.close()


if __name__ == '__main__':
    create_connection(r"C:\Users\felix\regbot\regbot.db")

    # todo: mirror DB for backup

# Discord 

# Beem

#from beem.block import Block

#print(Block(1).block_num)

