fn is_interpolation_key_allowed(key: &str) -> bool {
    if key.eq(ENV_BOT_TOKEN) {
        // Cannot leak bot secret in template
        return false;
    }
    true
}
/// Checks if an interpolation key is allowed, right now it will only return
/// false if you try to use the bot token variable as a template
/// interpolation, which is not allowed as why would you want to leak the bot
/// secret to users?
///
/// In the future this should have a list of allowed values


In the future this should have a list of allowed values
In the future this should have a list of allowed values
fn is_interpolation_key_allowed(key: &str) -> bool {
    if key.eq(ENV_BOT_TOKEN) {
        // Cannot leak bot secret in template
        return false;
    }
    true
}
fn is_interpolation_key_allowed ( key : & str ) -> bool { if key . eq ( ENV_BOT_TOKEN ) { // Cannot leak bot secret in template return false ; } true }
Checks if an interpolation key is allowed, right now it will only return
false if you try to use the bot token variable as a template
interpolation, which is not allowed as why would you want to leak the bot
secret to users?
Checks if an interpolation key is allowed right now it will only return false if you try to use the bot token variable as a template interpolation which is not allowed as why would you want to leak the bot secret to users?
key
&str
key
&str