From 2e09c4c15c35dfd649c024196bda1fb940166ca6 Mon Sep 17 00:00:00 2001 From: Craig Edwards Date: Wed, 17 Jul 2024 17:04:09 +0000 Subject: [PATCH] re-disable welcome --- src/listeners.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/listeners.cpp b/src/listeners.cpp index d820f69..ac4b79b 100644 --- a/src/listeners.cpp +++ b/src/listeners.cpp @@ -116,6 +116,8 @@ namespace listeners { dpp::snowflake guild_id = row.at("id"); bot.log(dpp::ll_info, "New guild: " + guild_id.str()); /* Temp disabled */ + co_await db::co_query("UPDATE guild_cache SET welcome_sent = 1 WHERE id = ?", {guild_id}); + continue; auto cc = co_await bot.co_guild_get(guild_id); if (cc.is_error()) { /* Couldn't fetch the guild - kicked within 30 secs of inviting, bummer. */