diff options
| author | Arslaan Pathan <[email protected]> | 2026-07-16 21:25:55 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-07-16 21:25:55 +1200 |
| commit | d9a6838624e78d90eba962b6004796fbfe1b4b8c (patch) | |
| tree | deb38f222e132172b8687b57083b681999b509c7 /src/db.py | |
| parent | c2a74e7472beace631fcab24986d83326e4c5dd7 (diff) | |
| download | slack-botnet-d9a6838624e78d90eba962b6004796fbfe1b4b8c.tar.xz slack-botnet-d9a6838624e78d90eba962b6004796fbfe1b4b8c.zip | |
Complete voting mechanism
Diffstat (limited to 'src/db.py')
| -rw-r--r-- | src/db.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -142,7 +142,6 @@ async def get_active_users() -> list[dict]: rows = await cursor.fetchall() return [dict(row) for row in rows] - async def add_vote(deployment_id: int, voter_id: str, vote: str): async with aiosqlite.connect(DB_PATH) as db: await db.execute("INSERT OR REPLACE INTO Votes (deployment_id, voter_id, vote) VALUES (?, ?, ?)", (deployment_id, voter_id, vote)) |
