Fixed some stuff
Signed-off-by: Emotion <emotion@elliebot.net>
This commit is contained in:
parent
b4e833404c
commit
acf63a745b
9 changed files with 1075 additions and 1064 deletions
SupportChild/Commands
|
@ -86,7 +86,7 @@ public class CloseCommand : ApplicationCommandModule
|
|||
await using FileStream file = new FileStream(Transcriber.GetPath(ticket.id), FileMode.Open, FileAccess.Read);
|
||||
DiscordMessageBuilder message = new DiscordMessageBuilder();
|
||||
message.WithEmbed(embed);
|
||||
message.WithFiles(new Dictionary<string, Stream> { { Transcriber.GetFilename(ticket.id), file } });
|
||||
message.AddFiles(new Dictionary<string, Stream> { { Transcriber.GetFilename(ticket.id), file } });
|
||||
|
||||
await logChannel.SendMessageAsync(message);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ public class CloseCommand : ApplicationCommandModule
|
|||
|
||||
DiscordMessageBuilder message = new DiscordMessageBuilder();
|
||||
message.WithEmbed(embed);
|
||||
message.WithFiles(new Dictionary<string, Stream> { { Transcriber.GetFilename(ticket.id), file } });
|
||||
message.AddFiles(new Dictionary<string, Stream> { { Transcriber.GetFilename(ticket.id), file } });
|
||||
|
||||
await staffMember.SendMessageAsync(message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue