fix typo
This commit is contained in:
10
Program.cs
10
Program.cs
@@ -24,8 +24,8 @@ public class MastodonBot
|
|||||||
var config = configData.fetchData();
|
var config = configData.fetchData();
|
||||||
if (config==null)
|
if (config==null)
|
||||||
{
|
{
|
||||||
logger.LogCritical("Error reading envinonment variables, either some values are missing or no .env file was found");
|
logger.LogCritical("Error reading environment variables, either some values are missing or no .env file was found");
|
||||||
throw new Exception("Error reading envinonment variables, either some values are missing or no .env file was found");
|
throw new Exception("Error reading environment variables, either some values are missing or no .env file was found");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup DB
|
// Setup DB
|
||||||
@@ -47,7 +47,7 @@ public class MastodonBot
|
|||||||
bot.OnMessage += OnMessage;
|
bot.OnMessage += OnMessage;
|
||||||
bot.OnUpdate += OnUpdate;
|
bot.OnUpdate += OnUpdate;
|
||||||
|
|
||||||
|
logger.LogInformation("Setup complete");
|
||||||
logger.LogInformation($"Bot is running as {me.FirstName}.");
|
logger.LogInformation($"Bot is running as {me.FirstName}.");
|
||||||
|
|
||||||
// Handle bot updates
|
// Handle bot updates
|
||||||
@@ -80,7 +80,3 @@ public class MastodonBot
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal class ConfigData
|
|
||||||
{
|
|
||||||
}
|
|
Reference in New Issue
Block a user