mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 08:20:58 -05:00
Add webhook token to filter
This commit is contained in:
parent
1766ab0490
commit
1abc442f1e
@ -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?');
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user