Skip to content

Commit

Permalink
re-disable welcome
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e09c4c)
  • Loading branch information
braindigitalis committed Jul 20, 2024
1 parent b22af81 commit 969900c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/listeners.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 969900c

Please sign in to comment.