    def __init__(self, host, user, passwd, db):
        # type: (str, str, str, str) -> None
        '''
        Initializes the SQL connection to be used for the bot.

        Args:
            host (str): The hostname of the SQL server.
            user (str): The username to use.
            passwd (str): Password for MySQL user.
            db (str): The name of the database to connect to.
        '''
        if not SQLEngine._created:
            SQLEngine._host = host
            SQLEngine._user = user
            SQLEngine._passwd = passwd
            SQLEngine._db = db
            SQLEngine._create_engine(host, user, passwd, db)
            SQLEngine._created = True
Initializes the SQL connection to be used for the bot.

Args:
host (str): The hostname of the SQL server.
user (str): The username to use.
passwd (str): Password for MySQL user.
db (str): The name of the database to connect to.
securitybot/sql.py