mirror of
https://github.com/ION606/Discord-Client.git
synced 2026-05-14 21:06:55 +00:00
Changed the message format
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user