DiscReporter constructor
DiscReporter({})
Implementation
DiscReporter({
required String webhook,
required String content,
String reportUserName = 'SReporter',
String reportUserIcon =
'https://te.legra.ph/file/7735c9a6b574efcb10ae4.jpg',
bool tts = false,
// List<DiscEmbed> embeds = const [],
required VoidCallback onSuccess,
required Function(String failMsg) onFaiure,
}) : _webhook = webhook,
_content = content,
_username = reportUserName,
_avatarUrl = reportUserIcon,
_tts = tts,
_onSuccess = onSuccess,
_onFailure = onFaiure;