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

Add webhook token to filter

This commit is contained in:
AnxietyisReal 2023-02-09 12:58:37 +11:00
parent c16ebd5e16
commit fbb8f6ae48

View File

@ -50,7 +50,7 @@ export default {
} else { } else {
output = '\n' + String(output); 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'); const regexp = new RegExp(x as string,'g');
output = output.replace(regexp, ':noblank: No token?'); output = output.replace(regexp, ':noblank: No token?');
}) })