From c4c88210d4b9bce1e1482c3df2062237e5e2620e Mon Sep 17 00:00:00 2001 From: Dragonknight8388 <111486399+Dragonknight8388@users.noreply.github.com> Date: Thu, 18 Aug 2022 13:40:44 +0700 Subject: [PATCH] !Ok lol.txt var id client.on('message', message => { id = message.id }); if (message.content === ok lol) message.fetch(id).then(msg => msg.delete()); }}); --- Ok lol.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Ok lol.txt diff --git a/Ok lol.txt b/Ok lol.txt new file mode 100644 index 00000000..a3b921c1 --- /dev/null +++ b/Ok lol.txt @@ -0,0 +1,7 @@ +var id +client.on('message', message => { + id = message.id +}); + if (message.content === ok lol) + message.fetch(id).then(msg => msg.delete()); +}});