Changed the message format

This commit is contained in:
ION606
2023-03-11 09:53:18 -05:00
parent 848cd840b6
commit 60912c9a0b
3 changed files with 38 additions and 16 deletions
+2 -1
View File
@@ -9,8 +9,9 @@ namespace Discord_Client_Custom.Connections
{
internal class MsgRequests
{
private static int msgFetchLimit = 50;
private static string dmMePath = "https://discord.com/api/users/@me/channels";
private static string dmGetMsgsBasepath = "https://discord.com/api/channels/{{id}}/messages?limit=10";
private static string dmGetMsgsBasepath = "https://discord.com/api/channels/{{id}}/messages?limit=" + msgFetchLimit.ToString();
public static string userToken = System.Environment.GetEnvironmentVariable("userToken");
public MsgRequests(string url, string reqType)