staticvoidMain(string[] args){Start().GetAwaiter().GetResult();}publicstaticRevoltClient Client;publicstaticasyncTaskStart(){ Client =newRevoltClient("Bot Token",ClientMode.WebSocket); // You need to run StartAsync() for WebSocket mode or Http mode.awaitClient.StartAsync();awaitTask.Delay(-1);}
publicenumClientMode{ /// <summary> /// Client will only use the http/rest client of Revolt and removes any usage/memory of websocket stuff. /// </summary> Http, /// <summary> /// Will use both WebSocket and http/rest client so you can get cached data for User, Server, Channel /// </summary> WebSocket}