aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme/create.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-16 21:14:30 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-16 21:15:07 -0400
commitef056edf92b678265a4666e1f9405e3b0ce66a42 (patch)
treeb3766d47ae2898d2a46f108de4e2be0ede6c400b /src/commands/meme/create.rs
parentc5ce454319a7d54d3967c6ea7695543e943a37b2 (diff)
repo: overhaul for multitenancy
Diffstat (limited to 'src/commands/meme/create.rs')
-rw-r--r--src/commands/meme/create.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/meme/create.rs b/src/commands/meme/create.rs
index c6ed9c6..2d0ee9a 100644
--- a/src/commands/meme/create.rs
+++ b/src/commands/meme/create.rs
@@ -52,6 +52,7 @@ pub async fn addmeme(
let save_result = NewMeme {
title,
+ guild: util::guild_id(ctx)?.get() as _,
content: text,
image_id,
audio_id: None,
@@ -177,6 +178,7 @@ pub async fn addaudiomeme(
let save_result = NewMeme {
title,
content: text,
+ guild: util::guild_id(ctx)?.get() as _,
image_id,
audio_id: Some(audio_id),
metadata_id: 0,