commit | 4a6d57102740ae7070565afb764e08e34efa0786 | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Thu Jan 19 15:54:40 2023 -0500 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Thu Jan 19 15:54:40 2023 -0500 |
tree | eca56248eaffee1d57e394e7ee77a48d76393f6e | |
parent | 6055457fb5746dc995e80ec6a3959f9971f7cdde [diff] [blame] |
intermediate update
diff --git a/src/commands/settings/logs/channel.ts b/src/commands/settings/logs/channel.ts index 9b594e8..0852e67 100644 --- a/src/commands/settings/logs/channel.ts +++ b/src/commands/settings/logs/channel.ts
@@ -151,7 +151,7 @@ i = i! i.deferUpdate(); if ((i.component as ButtonComponent).customId === "clear") { - clicks += 1; + clicks ++; if (clicks === 2) { clicks = 0; await client.database.guilds.write(interaction.guild!.id, null, ["logging.logs.channel"]);