From 833f2bed24ab49f1c6242762b6d1e0be9192e870 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Fri, 10 May 2024 20:17:31 -0400 Subject: wip --- src/commands/meme/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/meme/mod.rs') 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 = -- cgit v1.3.1