feat: added command to add the details to teh bot for a server

This commit is contained in:
silver 2023-09-17 19:30:59 +01:00
parent fa6920e4a3
commit 83aee45d7b
4 changed files with 160 additions and 3 deletions

View file

@ -239,7 +239,7 @@ pub async fn db_init(config: &Config) -> Result<Pool<Sqlite>, Error> {
sqlx::query(
"CREATE TABLE IF NOT EXISTS servers (
server integer KEY,
server integer PRIMARY KEY,
wolves_api text not null,
role_past integer,
role_current integer,