mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 21:54:36 +00:00
Use count instead of enumeration
This commit is contained in:
parent
8fb7ee91a3
commit
a8d0b4689a
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ public class ConfigModule : BotModuleBase {
|
|||
var result = new StringBuilder();
|
||||
|
||||
result.AppendLine($"Server ID: `{guild.Id}` | Bot shard ID: `{Shard.ShardId:00}`");
|
||||
result.AppendLine($"Number of registered birthdays: `{ guildconf.UserEntries.Count() }`");
|
||||
result.AppendLine($"Number of registered birthdays: `{ guildconf.UserEntries.Count }`");
|
||||
result.AppendLine($"Server time zone: `{ (guildconf.TimeZone ?? "Not set - using UTC") }`");
|
||||
result.AppendLine();
|
||||
|
||||
|
|
Loading…
Reference in a new issue