diff --git a/src/models.rs b/src/models.rs index ac55f8b..b316a36 100644 --- a/src/models.rs +++ b/src/models.rs @@ -207,7 +207,7 @@ SELECT id, user, name, dm_channel, language, timezone FROM users WHERE user = ? sqlx::query!( " -INSERT INTO channels (channel) VALUES (?) +INSERT IGNORE INTO channels (channel) VALUES (?) ", dm_id )