Skip to content

Commit

Permalink
revert all changes, i have no fucking clue what im doing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCrazyInsanity authored Jul 9, 2022
1 parent f7b0af8 commit 524ada5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using CommandLine;
using Newtonsoft.Json;
using kk33.RbxStreamSniper.Json;
Expand All @@ -13,7 +13,7 @@ class Options
public string Cookie { get; set; }

[Option('u', "user", Required = false, HelpText = "Set target user ID.")]
public ulong UserId { get; set; }
public string UserId { get; set; }

[Option('n', "username", Required = false, HelpText = "Set target user name.")]
public string UserName { get; set; }
Expand All @@ -31,7 +31,7 @@ static void Main(string[] args)
{
string cookie = null;
string placeid = null;
ulong userid = 1;
string userid = null;
string avatar = null;
string ownid = null;
int totalPages = 0;
Expand Down Expand Up @@ -66,7 +66,7 @@ static void Main(string[] args)
{
try
{
userid = JsonConvert.DeserializeObject<GetByUsername>(HttpHelpers.Get($"https://api.roblox.com/users/get-by-username?username={o.UserName.Trim()}")).Id;
userid = JsonConvert.DeserializeObject<GetByUsername>(HttpHelpers.Get($"https://api.roblox.com/users/get-by-username?username={o.UserName.Trim()}")).Id.ToString();
}
catch (Exception e) { CatchException(e); }
}
Expand Down

0 comments on commit 524ada5

Please sign in to comment.