changed the insert into dm channels into an insert ignore
This commit is contained in:
parent
f32b142c81
commit
b2111616e8
@ -207,7 +207,7 @@ SELECT id, user, name, dm_channel, language, timezone FROM users WHERE user = ?
|
|||||||
|
|
||||||
sqlx::query!(
|
sqlx::query!(
|
||||||
"
|
"
|
||||||
INSERT INTO channels (channel) VALUES (?)
|
INSERT IGNORE INTO channels (channel) VALUES (?)
|
||||||
",
|
",
|
||||||
dm_id
|
dm_id
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user