small changes

This commit is contained in:
Master Kwoth
2017-11-01 04:39:07 +01:00
parent 7beee8df70
commit e2d4576bff
8 changed files with 10 additions and 35 deletions

View File

@ -12,7 +12,8 @@ namespace NadekoBot.Modules.Searches
[Group]
public class PlaceCommands : NadekoSubmodule
{
private static string typesStr { get; } = string.Join(", ", Enum.GetNames(typeof(PlaceType)));
private static readonly string _typesStr =
string.Join(", ", Enum.GetNames(typeof(PlaceType)));
public enum PlaceType
{
@ -30,7 +31,7 @@ namespace NadekoBot.Modules.Searches
public async Task Placelist()
{
await Context.Channel.SendConfirmAsync(GetText("list_of_place_tags", Prefix),
typesStr)
_typesStr)
.ConfigureAwait(false);
}