//Numeric.ERR_METADATASYNCLATER import core.time : seconds; import std.array : array; import std.range : only, takeNone; import virc.common : Channel; with(parseNumeric!(Numeric.ERR_METADATASYNCLATER)(only("modernclient", "#bigchan", "4"), "@", "#").get) { assert(target.channel == Channel("#bigchan")); assert(retryAfter == 4.seconds); } assert(parseNumeric!(Numeric.ERR_METADATASYNCLATER)(takeNone(only("")), "@", "#").isNull);
Format is 774 <Client> <Target>[ <RetryAfter>]