changed the insert into dm channels into an insert ignore

This commit is contained in:
jude 2020-10-13 13:42:15 +01:00
parent f32b142c81
commit b2111616e8

View File

@ -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
)