mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-10 18:06:37 +02:00
FIXMEs
This commit is contained in:
parent
82ab7bf88b
commit
6d551b19af
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,8 @@ public class ChannelExporter(DiscordClient discord)
|
|||
if ((request.Before is not null && !request.Channel.MayHaveMessagesBefore(request.Before.Value)) ||
|
||||
(request.After is not null && !request.Channel.MayHaveMessagesAfter(request.After.Value)))
|
||||
{
|
||||
// FIXME: this should be async like the rest of the error output in the project,
|
||||
// but that would require a console reference which this method does not currently have; some refactoring might be needed
|
||||
Console.Error.WriteLine(
|
||||
$"NOTE: Channel '{request.Channel.Name}' "
|
||||
+ $"of guild '{request.Guild.Name}' "
|
||||
|
@ -86,5 +88,8 @@ public class ChannelExporter(DiscordClient discord)
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: no file is written if no new messages due to --after/--before;
|
||||
// need to still create a file with just boilerplate and empty message list
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue