Skip to content

Instantly share code, notes, and snippets.

View Carlgo11's full-sized avatar
🥰

Carl Carlgo11

🥰
View GitHub Profile
import com.mojang.api.profiles.HttpProfileRepository;
import com.mojang.api.profiles.Profile;
import com.mojang.api.profiles.ProfileCriteria;
public class BasicConverter {
private static final HttpProfileRepository profileRepository = new HttpProfileRepository();
private static final String AGENT = "minecraft";
public static String getUUID(String username) {
package require tdom
proc wolframalpha {nick channel arg} {
if {$arg == ""} {
return "Please provide a search query."
} elseif {[string first "Necrodoom" $arg] != -1} {
return "Did you mean: stop spamming $::botnick?"
}
set xml [wget http://api.wolframalpha.com/v2/query?format=plaintext&appid=APPID&[::http::formatQuery input $arg]]
set document [dom parse $xml]