Skip to content

Commit

Permalink
Temporarily disable possibly spammy features
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Jun 7, 2024
1 parent 2b8555f commit 34a4d65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tts_core/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ pub async fn handle_unexpected<'a>(
author_name: Option<&str>,
icon_url: Option<&str>,
) -> Result<()> {
eprintln!("{error:?}");
return Ok(());

let data = poise_context.user_data();
let ctx = poise_context.serenity_context;

Expand Down
2 changes: 2 additions & 0 deletions tts_events/src/guild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ pub async fn guild_create(
guild: &serenity::Guild,
is_new: Option<bool>,
) -> Result<()> {
return Ok(());

if !is_new.unwrap() {
return Ok(());
};
Expand Down

0 comments on commit 34a4d65

Please sign in to comment.