Class DiscordService
Inheritance
DiscordService
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public class DiscordService : IDiscordService
Constructors
|
Edit this page
View Source
DiscordService(string)
The game owns the webhook. The engine stores none.
Declaration
public DiscordService(string webhookUrl)
Parameters
| Type |
Name |
Description |
| string |
webhookUrl |
|
Methods
|
Edit this page
View Source
SendFeedback(string)
Declaration
public Task<bool> SendFeedback(string feedback)
Parameters
| Type |
Name |
Description |
| string |
feedback |
|
Returns
|
Edit this page
View Source
SendFeedback(string, string?)
Posts feedback. A non-empty username
is the webhook username and Steam is not touched. A null username uses
the Steam persona, and a missing Steam client fails the send.
Declaration
public Task<bool> SendFeedback(string feedback, string? username)
Parameters
Returns
Implements