commit | 02ba02369855596e8d1bdd70461c2f625e637896 | [log] [tgz] |
---|---|---|
author | pineafan <pineapplefanyt@gmail.com> | Sun Jul 24 22:16:15 2022 +0100 |
committer | pineafan <pineapplefanyt@gmail.com> | Sun Jul 24 22:16:15 2022 +0100 |
tree | 8e795c28a66135ea836be606d07c578683a817b4 | |
parent | 813bdf45f3ae6f8815593576a4f0a6685f1dd2f3 [diff] [blame] |
stats channels
diff --git a/src/commands/settings/logs/channel.ts b/src/commands/settings/logs/channel.ts index 10a5887..aacc2e7 100644 --- a/src/commands/settings/logs/channel.ts +++ b/src/commands/settings/logs/channel.ts
@@ -50,6 +50,7 @@ .setColor("Warning") .setInverted(true) .send(true) + if (confirmation.cancelled) return if (confirmation.success) { try { await client.database.guilds.write(interaction.guild.id, {"logging.logs.channel": channel.id})