start to structure code for multiplatofrm

This commit is contained in:
Adam R Grey 2023-05-23 19:03:58 -04:00
parent a87fcd6ad9
commit bfe7f582b2
6 changed files with 34 additions and 2 deletions

View File

@ -7,8 +7,6 @@ using System.Net;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Newtonsoft.Json; using Newtonsoft.Json;
using QRCoder; using QRCoder;

5
Models/Attachment.cs Normal file
View File

@ -0,0 +1,5 @@
using System;
public abstract class Attachment
{
public Guid Id{get;set;}
}

7
Models/Channel.cs Normal file
View File

@ -0,0 +1,7 @@
using System;
public abstract class Channel
{
public Guid Id{get;set;}
public bool IsDM {get;set;}
}

9
Models/Message.cs Normal file
View File

@ -0,0 +1,9 @@
using System;
public abstract class Message
{
public Guid Id{get;set;}
public Guid InChannel{get;set;}
public string Content{get;set;}
public bool TagsMe{get;set;}
}

6
Models/Protocol.cs Normal file
View File

@ -0,0 +1,6 @@
using System;
public abstract class Protocol
{
public Guid Id{get;set;}
}

7
Models/User.cs Normal file
View File

@ -0,0 +1,7 @@
using System;
public abstract class User
{
public Guid Id{get;set;}
public bool IsBot {get;set;} //webhook counts
}