This property was defined in RestGuild and SocketGuild, so it only makes sense to make it part of IGuild as well.pull/1387/head
| @@ -1,6 +1,7 @@ | |||||
| using Discord.Audio; | using Discord.Audio; | ||||
| using System; | using System; | ||||
| using System.Collections.Generic; | using System.Collections.Generic; | ||||
| using System.Globalization; | |||||
| using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
| namespace Discord | namespace Discord | ||||
| @@ -259,6 +260,14 @@ namespace Discord | |||||
| /// </returns> | /// </returns> | ||||
| string PreferredLocale { get; } | string PreferredLocale { get; } | ||||
| /// <summary> | |||||
| /// Gets the preferred culture of this guild. | |||||
| /// </summary> | |||||
| /// <returns> | |||||
| /// The preferred culture information of this guild. | |||||
| /// </returns> | |||||
| CultureInfo PreferredCulture { get; } | |||||
| /// <summary> | /// <summary> | ||||
| /// Modifies this guild. | /// Modifies this guild. | ||||
| /// </summary> | /// </summary> | ||||
| @@ -68,12 +68,7 @@ namespace Discord.Rest | |||||
| /// <inheritdoc /> | /// <inheritdoc /> | ||||
| public string PreferredLocale { get; private set; } | public string PreferredLocale { get; private set; } | ||||
| /// <summary> | |||||
| /// Gets the preferred culture of this guild. | |||||
| /// </summary> | |||||
| /// <returns> | |||||
| /// The preferred culture information of this guild. | |||||
| /// </returns> | |||||
| /// <inheritdoc /> | |||||
| public CultureInfo PreferredCulture { get; private set; } | public CultureInfo PreferredCulture { get; private set; } | ||||
| /// <inheritdoc /> | /// <inheritdoc /> | ||||
| @@ -109,12 +109,7 @@ namespace Discord.WebSocket | |||||
| /// <inheritdoc /> | /// <inheritdoc /> | ||||
| public string PreferredLocale { get; private set; } | public string PreferredLocale { get; private set; } | ||||
| /// <summary> | |||||
| /// Gets the preferred culture of this guild. | |||||
| /// </summary> | |||||
| /// <returns> | |||||
| /// The preferred culture information of this guild. | |||||
| /// </returns> | |||||
| /// <inheritdoc /> | |||||
| public CultureInfo PreferredCulture { get; private set; } | public CultureInfo PreferredCulture { get; private set; } | ||||
| /// <inheritdoc /> | /// <inheritdoc /> | ||||