migration localized, only 2 responses, won't localize console output

This commit is contained in:
Kwoth
2017-02-14 19:08:27 +01:00
parent be8ca3b45d
commit b24e68c24c
2 changed files with 20 additions and 2 deletions

View File

@@ -51,12 +51,12 @@ namespace NadekoBot.Modules.Administration
break;
}
}
await Context.Channel.SendMessageAsync("🆙 **Migration done.**").ConfigureAwait(false);
await ReplyConfirmLocalized("migration_done").ConfigureAwait(false);
}
catch (Exception ex)
{
_log.Error(ex);
await Context.Channel.SendMessageAsync("⚠️ **Error while migrating, check `logs` for more informations.**").ConfigureAwait(false);
await ReplyErrorLocalized("migration_error").ConfigureAwait(false);
}
}