From d7b0d18444db073b93f603d885f13566676c4182 Mon Sep 17 00:00:00 2001 From: jude Date: Mon, 26 Oct 2020 20:56:54 +0000 Subject: [PATCH] fix for DM commands --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/models.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a19507e..0bbcb6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1175,7 +1175,7 @@ dependencies = [ [[package]] name = "reminder_rs" -version = "1.1.1" +version = "1.1.2" dependencies = [ "Inflector", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 65f067b..a14ad59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder_rs" -version = "1.1.1" +version = "1.1.2" authors = ["jellywx "] edition = "2018" diff --git a/src/models.rs b/src/models.rs index 5c53624..ac25897 100644 --- a/src/models.rs +++ b/src/models.rs @@ -99,7 +99,7 @@ UPDATE guilds SET name = ?, prefix = ? WHERE id = ? pub struct ChannelData { pub id: u32, - pub name: String, + pub name: Option, pub nudge: i16, pub blacklisted: bool, pub webhook_id: Option,