yiyungent / KnifeHub

🧰 简单易用的效率工具平台

Home Page:http://yiyungent.github.io/KnifeHub/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unhandled exception. System.MissingMethodException: Method not found: 'Telegram.Bot.TelegramBotClient BotItemModel.get_TelegramBotClient()'

yiyungent opened this issue · comments

commented
System.MissingMethodException: Method not found: 'Telegram.Bot.TelegramBotClient BotItemModel.get_TelegramBotClient()'.
  ?, in async Task TgBotStatPlugin.ExecuteAsync()
  File "AsyncMethodBuilderCore.cs", line 38, in void AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
    stateMachine.MoveNext();
  ?, in Task TgBotStatPlugin.ExecuteAsync()
  ?, in void PluginTimeJobBackgroundService.DoWork(object state)
  File "Timer.cs", line 718, in void TimerQueueTimer.s_callCallbackInContext(object state)
    t._timerCallback(t._state);
  File "Timer.cs", line 709, in void TimerQueueTimer.CallCallback(bool isThreadPool)
    ExecutionContext.RunInternal(context, s_callCallbackInContext, this);
  File "Timer.cs", line 662, in void TimerQueueTimer.Fire(bool isThreadPool)
    CallCallback(isThreadPool);
  File "Timer.cs", line 326, in void TimerQueue.FireNextTimers()
    timerToFireOnThisThread?.Fire();
  File "Timer.CoreCLR.cs", line 59, in void TimerQueue.AppDomainTimerCallback(int id)
    Instances[id].FireNextTimers();

https://yiyungent.sentry.io/share/issue/376bdc0e57a14d118a73703b1e960204/

就算在本地主程序启动后,后启用 TgBotStatPlugin 也会出现此问题