DiscordBaseInstallationStore

class DiscordBaseInstallationStore:

Abstract base class for managing Discord installations.

This class defines the interface for database operations related to storing and retrieving Discord installation data. Subclasses must implement these methods to handle database-specific logic.

DiscordSQLiteInstallationStore

class DiscordSQLiteInstallationStore(DiscordBaseInstallationStore):

SQLite-based implementation for managing Discord installations.

This class provides methods for initializing the database, saving, retrieving, and deleting installation records using SQLite.

Attributes: database (str): Path to the SQLite database file.

init

def __init__(self, database: str):

Initializes the SQLite installation store.

Parameters:

  • database (str): Path to the SQLite database file.