diff --git a/StarsiegeBot/Starsiege/Quickchat.cs b/StarsiegeBot/Starsiege/Quickchat.cs index 06118c9..307779b 100644 --- a/StarsiegeBot/Starsiege/Quickchat.cs +++ b/StarsiegeBot/Starsiege/Quickchat.cs @@ -96,7 +96,7 @@ namespace StarsiegeBot if (File.Exists($"./qc/{chat.soundFile}")) { FileStream sound = new FileStream($"./qc/{chat.soundFile}", FileMode.Open); - msg.WithFile(sound); + msg.WithFile(chat.soundFile, sound); await ctx.RespondAsync(msg); sound.Close(); } @@ -105,6 +105,16 @@ namespace StarsiegeBot await ctx.RespondAsync(msg); } } + + [Command("search"), Aliases("s")] + public async Task SearchQuickChats(CommandContext ctx, [RemainingText] string toSearch) + { + await ctx.TriggerTypingAsync(); + for (int i = 0; i < Quickchats.Count; i++) + { + + } + } } public class Quickchats {