Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yiyungent opened this issue Aug 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@yiyungent
Copy link
Owner

yiyungent commented Aug 12, 2023

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 也会出现此问题

@yiyungent yiyungent added the bug Something isn't working label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant