new role management commands, bug fix, table restructuring, better output

This commit is contained in:
2024-12-08 12:15:54 -05:00
parent 8f764a2270
commit 0def108010
10 changed files with 97 additions and 35 deletions

View File

@@ -82,9 +82,10 @@ async fn main() -> Result<(), Error> {
sqlx::query(
r#"
CREATE TABLE IF NOT EXISTS selfroles (
userid BIGINT,
userid BIGINT NOT NULL,
guildid BIGINT NOT NULL,
roleid BIGINT,
guildid BIGINT
UNIQUE (userid, guildid)
)
"#,
).execute(&mut database).await?;