mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-23 01:05:10 +00:00
Refactor
This commit is contained in:
@@ -12,7 +12,7 @@ namespace DiscordChatExporter.Core.Services.Helpers
|
||||
public static bool IsDirectoryPath(string path) =>
|
||||
path.Last() == Path.DirectorySeparatorChar ||
|
||||
path.Last() == Path.AltDirectorySeparatorChar ||
|
||||
(Path.GetExtension(path).IsNullOrWhiteSpace() && !File.Exists(path));
|
||||
Path.GetExtension(path).IsNullOrWhiteSpace() && !File.Exists(path);
|
||||
|
||||
public static string GetDefaultExportFileName(ExportFormat format, Guild guild, Channel channel,
|
||||
DateTimeOffset? after = null, DateTimeOffset? before = null)
|
||||
|
||||
Reference in New Issue
Block a user