Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

feat: Initialise SQLite database when starting bot #19

Merged
merged 1 commit into from
Dec 29, 2021
Merged

feat: Initialise SQLite database when starting bot #19

merged 1 commit into from
Dec 29, 2021

Conversation

thibmeu
Copy link
Contributor

@thibmeu thibmeu commented Dec 28, 2021

There is no mention in the README.md the SQLite database has to be initialised.
This commits initialises the database as part of the initialisation of the sticker client.

Tests

Starting the bot without a local db.sqlite3 led to an error. When this patch is applied, it does not.

Comments

This method could be wrapped in a different command if needed, but I don't know if this would be consistent with the rest of the codebase.

There is no mention in the `README.md` the SQLite database has to be initialised.
This commits initialises the database as part of the initialisation of the sticker client.
@ioistired ioistired merged commit 151b9d6 into signalstickers:trunk Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants