diff options
Diffstat (limited to 'src/commands/meme/mod.rs')
| -rw-r--r-- | src/commands/meme/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/meme/mod.rs b/src/commands/meme/mod.rs index c40e80a..b5a3c98 100644 --- a/src/commands/meme/mod.rs +++ b/src/commands/meme/mod.rs @@ -1,4 +1,4 @@ -use diesel::PgConnection; +use diesel_async::AsyncPgConnection; use log::debug; use rand::random; use serenity::{ @@ -70,7 +70,7 @@ struct Memes; async fn send_meme( ctx: &Context, t: &Meme, - conn: &mut PgConnection, + conn: &mut AsyncPgConnection, msg: &Message, ) -> CommandResult { let should_tts = |
