mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-04 16:53:49 -04:00
Cleanup and minor fixes
This commit is contained in:
parent
247f3a9c5b
commit
4a35a7b530
6 changed files with 47 additions and 39 deletions
|
@ -35,15 +35,15 @@ Failed to perform an HTTP request.
|
|||
return new DiscordChatExporterException(message);
|
||||
}
|
||||
|
||||
internal static DiscordChatExporterException ChannelForbidden(string channel)
|
||||
internal static DiscordChatExporterException Forbidden()
|
||||
{
|
||||
var message = $"Access to channel '{channel}' is forbidden.";
|
||||
const string message = "Access is forbidden.";
|
||||
return new DiscordChatExporterException(message);
|
||||
}
|
||||
|
||||
internal static DiscordChatExporterException ChannelDoesNotExist(string channel)
|
||||
internal static DiscordChatExporterException NotFound()
|
||||
{
|
||||
var message = $"Channel '{channel}' does not exist.";
|
||||
const string message = "Not found.";
|
||||
return new DiscordChatExporterException(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue