Skip to content

Instantly share code, notes, and snippets.

NjA2Mzc1NzU4NTI0NTc5ODQw.GhCBrS.hPgEzD7m-p_BUjFUS0qYQW-p_8A2iO-5E-xdiA

Keybase proof

I hereby claim:

  • I am nciklol on github.
  • I am nciklol (https://keybase.io/nciklol) on keybase.
  • I have a public key ASDSB7UcHMzppcZDauPnNXptX_cVs7MJL--ARjjkmFrXRgo

To claim this, I am signing this object:

Hey all, just thought I'd right out a quick privacy policy for YBot. If you have any questions make sure to ask in the support server!

I am not a lawyer, just a bot developer. Please don't take me to court.

Non optional data collection

YBot by design tries to collect as little data as possible on your server, however because of the way its designed, some things are needed to ensure the best experience.

  • YBot stores your server's unique id
  • YBot will report any errors it encounters from your server privately to its developers (Currently only me, n i c k#1990)
  • YBot will internally store all channels, your servers unique identifier, and up to 200 messages per channel. NONE of this data is accessible to me nor is it stored outside of memory. (This is done so YBot can have the ability to log message edits and deletes to those that choose to enable it. )
@Nciklol
Nciklol / main.rs
Created October 14, 2021 05:55
Simple Rust Phone Number Validator
use regex::Regex;
use std::io;
fn main() {
let re = Regex::new(r"^((?:\+\d{1,3})?\(?\d{3}\)?\-?\d{3}\-?\d{4})\r?\n$").unwrap();
println!("Enter Phone Number:");
let mut number = String::new();
io::stdin().read_line(&mut number).expect("yikes");