1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 04:10:59 -05:00

Add webhook token to filter

This commit is contained in:
AnxietyisReal 2023-02-09 12:58:37 +11:00
parent 60e6369557
commit 73fe20f58f

View File

@ -50,7 +50,7 @@ export default {
} else {
output = '\n' + String(output);
}
[client.tokens.token_main,client.tokens.token_beta,client.tokens.token_toast,client.tokens.token_tae].forEach((x)=>{
[client.tokens.token_main,client.tokens.token_beta,client.tokens.token_toast,client.tokens.token_tae,client.tokens.webhook_url].forEach((x)=>{
const regexp = new RegExp(x as string,'g');
output = output.replace(regexp, ':noblank: No token?');
})