add discord bot

change net6.0 net7.0
This commit is contained in:
Дмитрий Шиманский
2023-10-26 11:35:42 +03:00
parent 7c6fafa9e6
commit 9a8a4cad5d
35 changed files with 1132 additions and 37 deletions

18
Types/DiscordUserType.cs Normal file
View File

@@ -0,0 +1,18 @@
using DiscordApp.Enums;
namespace DiscordApp.Types
{
public class UserObject
{
public ulong Id { get; set; }
public string Username { get; set; }
public string Discriminator { get; set; }
public string Avatar { get; set; }
public bool? Bot { get; set; }
public bool? MFA_enabled { get; set; }
public bool? Verified { get; set; }
public string eMail { get; set; }
public UserFlags Flags { get; set; }
public NitroSubscription Premium_type { get; set; }
}
}

9
Types/PaymentData.cs Normal file
View File

@@ -0,0 +1,9 @@
namespace DiscordApp.Types
{
public class PaymentData
{
public int Price;
public string RedirectUrl;
public string Message;
}
}