Skip to content

Commit

Permalink
feat 新增提示
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Nov 20, 2022
1 parent 2460e9f commit 17143a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions XinjingdailyBot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ public static async Task Main()

await ConfigHelper.LoadConfig();

if (string.IsNullOrEmpty(BotConfig.BotToken))
{
Logger.Error("未填写 BotToken");
return;
}

//设置代理
HttpClient? httpClient = null;
if (!string.IsNullOrEmpty(BotConfig.Proxy))
Expand Down

0 comments on commit 17143a2

Please sign in to comment.