using System.Collections.Generic; namespace Discord.Commands { /// /// Utility class which contains the default matching pairs of quotation marks for CommandServiceConfig /// internal static class QuotationAliasUtils { /// /// A default map of open-close pairs of quotation marks. /// Contains many regional and Unicode equivalents. /// Used in the . /// /// internal static Dictionary GetDefaultAliasMap { get { // Output of a gist provided by https://gist.github.com/ufcpp // https://gist.github.com/ufcpp/5b2cf9a9bf7d0b8743714a0b88f7edc5 // This was not used for the implementation because of incompatibility with netstandard1.1 return new Dictionary { {'\"', '\"' }, {'«', '»' }, {'‘', '’' }, {'“', '”' }, {'„', '‟' }, {'‹', '›' }, {'‚', '‛' }, {'《', '》' }, {'〈', '〉' }, {'「', '」' }, {'『', '』' }, {'〝', '〞' }, {'﹁', '﹂' }, {'﹃', '﹄' }, {'"', '"' }, {''', ''' }, {'「', '」' }, {'(', ')' }, {'༺', '༻' }, {'༼', '༽' }, {'᚛', '᚜' }, {'⁅', '⁆' }, {'⌈', '⌉' }, {'⌊', '⌋' }, {'❨', '❩' }, {'❪', '❫' }, {'❬', '❭' }, {'❮', '❯' }, {'❰', '❱' }, {'❲', '❳' }, {'❴', '❵' }, {'⟅', '⟆' }, {'⟦', '⟧' }, {'⟨', '⟩' }, {'⟪', '⟫' }, {'⟬', '⟭' }, {'⟮', '⟯' }, {'⦃', '⦄' }, {'⦅', '⦆' }, {'⦇', '⦈' }, {'⦉', '⦊' }, {'⦋', '⦌' }, {'⦍', '⦎' }, {'⦏', '⦐' }, {'⦑', '⦒' }, {'⦓', '⦔' }, {'⦕', '⦖' }, {'⦗', '⦘' }, {'⧘', '⧙' }, {'⧚', '⧛' }, {'⧼', '⧽' }, {'⸂', '⸃' }, {'⸄', '⸅' }, {'⸉', '⸊' }, {'⸌', '⸍' }, {'⸜', '⸝' }, {'⸠', '⸡' }, {'⸢', '⸣' }, {'⸤', '⸥' }, {'⸦', '⸧' }, {'⸨', '⸩' }, {'【', '】'}, {'〔', '〕' }, {'〖', '〗' }, {'〘', '〙' }, {'〚', '〛' } }; } } } }