mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-09 20:09:31 +02:00
add discord bot
change net6.0 net7.0
This commit is contained in:
18
Types/DiscordUserType.cs
Normal file
18
Types/DiscordUserType.cs
Normal 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
9
Types/PaymentData.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace DiscordApp.Types
|
||||
{
|
||||
public class PaymentData
|
||||
{
|
||||
public int Price;
|
||||
public string RedirectUrl;
|
||||
public string Message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user