This commit is contained in:
Lea 2023-11-23 14:03:52 +01:00
parent 9bceeb6060
commit 9bba66696d
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

View file

@ -562,7 +562,7 @@ async function wordFilters(message: Message) {
}
try {
if (message.author_id == "01FD0D2ED95QTQX442AZRWWMQK" && /(^|\s|\W)(pt|poketube|poke|pokesearch)($|\s|\W)/i.test(content)) {
if (message.author_id == "01FD0D2ED95QTQX442AZRWWMQK" && /(^|\s|\W)(pt|poketubes?|pokes?|pokesearch)($|\s|\W)/i.test(content)) {
await message.react('01HER6VW6PX7H5BD6J6J6ZS3VJ');
}
} catch(e) {