Skip to main content

Class RevoltRestClientBots

Assembly: Revolt.Net.dll​
View Source​
Declaration
public class RevoltRestClientBots

Properties​

Client​

View Source​
Declaration
public RevoltClient Client { get; }

Methods​

FetchOwnedBotsAsync()​

View Source​
Declaration
public Task<OwnedBotsResponse> FetchOwnedBotsAsync()
Returns​

System.Threading.Tasks.Task<Revolt.OwnedBotsResponse>

FetchOwnedBotAsync(String)​

View Source​
Declaration
public Task<OwnedBotResponse> FetchOwnedBotAsync(string botId)
Returns​

System.Threading.Tasks.Task<Revolt.OwnedBotResponse>

Parameters​
TypeName
System.StringbotId

DeleteBotAsync(String)​

View Source​
Declaration
public Task DeleteBotAsync(string botId)
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
System.StringbotId

FetchPublicBotAsync(String)​

View Source​
Declaration
public Task<User> FetchPublicBotAsync(string botId)
Returns​

System.Threading.Tasks.Task<Revolt.User>

Parameters​
TypeName
System.StringbotId