Example #1
0
        public static async void Normal(SoraMessage e, string origin)
        {
            try
            {
                var trans = NBNHHSH.Get(origin);
                if (trans.Length > 0)
                {
                    await e.ReplyToOriginal($"{origin} 的意思可能为" + Environment.NewLine + string.Join(" | ", trans));

                    return;
                }
            }
            catch
            { }
            await e.ReplyToOriginal($"{origin} 未能成功获取到猜测内容");
        }
Example #2
0
        public async Task Normal(string origin)
        {
            try
            {
                var trans = NBNHHSH.Get(origin);
                if (trans.Length > 0)
                {
                    await ReplyAsync($"{origin} 的意思可能为" + Environment.NewLine + string.Join(" | ", trans));

                    return;
                }
            }
            catch
            { }
            await ReplyAsync($"{origin} 未能成功获取到猜测内容");
        }