Add more run parameters, remove first launch stuff, store token in globals

This commit is contained in:
runebaas 2018-05-13 18:47:01 +02:00
parent bb8aee1eda
commit a1b5bd1955
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
4 changed files with 56 additions and 56 deletions

View file

@ -29,7 +29,7 @@ namespace Geekbot.net.Database
_client = client;
}
public async Task Migrate()
public Task Migrate()
{
_logger.Information(LogSource.Geekbot, "Starting migration process");
foreach (var guild in _client.Guilds)
@ -283,6 +283,8 @@ namespace Geekbot.net.Database
_logger.Information(LogSource.Geekbot, $"Finished Migration for {guild.Name}");
}
_logger.Information(LogSource.Geekbot, "Finished migration process");
return Task.CompletedTask;;
}
private QuoteModel CreateQuoteObject(ulong guild, QuoteObjectDto quote)