1
0
mirror of https://gitlab.com/Deukhoofd/DeukBot4.git synced 2025-10-27 17:00:05 +00:00

Tags are always a single word, parse them as such

This commit is contained in:
2018-11-05 15:22:47 +01:00
parent 0d538ad703
commit dd177fa012

View File

@@ -235,10 +235,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
return; return;
} }
cmd.SendMessageAsync(serverTags.GetTag(first));
var key = cmd.Parameters[0].AsString();
cmd.SendMessageAsync(serverTags.GetTag(key));
} }
public static async Task GetTags(CommandRequest cmd) public static async Task GetTags(CommandRequest cmd)