Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
/ RoCheck Public archive

grilme99's RoCheck implemented in Rust

License

Notifications You must be signed in to change notification settings

Fireboltofdeath/RoCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.io Released API docs Build Status License: MIT

RoCheck

An implementation of grilme99's RoCheck module in Rust. Credits to her for the method used.

Installation

[dependencies]
rocheck = "0.2"

Usage

Using RoCheck is simple, simply feed it in a couple values, and boom!

use rocheck::RoCheck;

async fn check() -> Result<(), Box<dyn std::error::Error>> {
	let client = RoCheck::new("Your Bot Token");

	let test_ip = "127.0.0.1";
	let job_id = "SomeLongStringOfCharactersShouldGoHere";
	let place_id = 123456;

	let is_roblox = client.verify_ip(place_id, job_id, test_ip).await?;

	if is_roblox {
		println!("Hoorah! You're a real roblox server!");
	}

	Ok(())
}

About

grilme99's RoCheck implemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages