Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packages. #246

Merged
merged 1 commit into from
Jun 30, 2024
Merged

Update packages. #246

merged 1 commit into from
Jun 30, 2024

Conversation

SebastianStehle
Copy link
Collaborator

No description provided.

@SebastianStehle SebastianStehle merged commit 1ffa521 into main Jun 30, 2024
2 checks passed
@SebastianStehle SebastianStehle deleted the update-packages branch June 30, 2024 17:50
// Random 18-digit number
var random = new Random();
string userId = string.Join(string.Empty, Enumerable.Range(0, 18).Select(number => random.Next(0, 9)));
var invalidUser = Guid.NewGuid().ToString();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Sebastian,
I think that you can't use the Guid here since Discord user id is all digits (without any letters) - that's why I didn't use GUID but instead did that 18 digit number generation

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx, my bad. I was so confused my the complicated code here.

Thx a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants