made 1 button do something. Only all of them left because it doesn't do what it should.

This commit is contained in:
2025-06-07 22:20:29 +02:00
parent b68586261c
commit f0e3ab5e8f
6 changed files with 104 additions and 36 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ pub async fn cmd(
) -> Result<(), Error>
{
if !is_bk_mod(ctx.data().bk_mods.clone(), ctx.author().id.get()) {
let sr = get_readable_subreddits(ctx).await?;
let sr = get_readable_subreddits(ctx.data()).await?;
send_msg(ctx, lang!("dc_msg_re_permdeny_not_re_mod", sr), false, false).await;
return Ok(());
}