diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-05-10 20:17:31 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-05-10 20:17:31 -0400 |
| commit | 833f2bed24ab49f1c6242762b6d1e0be9192e870 (patch) | |
| tree | 6addb09b277a3559a0049b31d602b80cd977bdbc /src/commands/meme/mod.rs | |
| parent | c56dea4fbd53fde13efaf742ab9ee9d56575128a (diff) | |
wip
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 = |
