fix bug
This commit is contained in:
parent
0c165db536
commit
76fe65c08c
@ -84,7 +84,7 @@ namespace silverworker_discord
|
|||||||
{
|
{
|
||||||
Console.WriteLine($"qring: {qrContent}");
|
Console.WriteLine($"qring: {qrContent}");
|
||||||
QRCodeGenerator qrGenerator = new QRCodeGenerator();
|
QRCodeGenerator qrGenerator = new QRCodeGenerator();
|
||||||
QRCodeData qrCodeData = qrGenerator.CreateQrCode(qrContent.Substring(7), QRCodeGenerator.ECCLevel.Q);
|
QRCodeData qrCodeData = qrGenerator.CreateQrCode(qrContent, QRCodeGenerator.ECCLevel.Q);
|
||||||
SvgQRCode qrCode = new SvgQRCode(qrCodeData);
|
SvgQRCode qrCode = new SvgQRCode(qrCodeData);
|
||||||
string qrCodeAsSvg = qrCode.GetGraphic(20);
|
string qrCodeAsSvg = qrCode.GetGraphic(20);
|
||||||
int todaysnumber = Shared.r.Next();
|
int todaysnumber = Shared.r.Next();
|
||||||
|
Loading…
Reference in New Issue
Block a user