add colours to stats
This commit is contained in:
parent
3e6993b3e5
commit
2d617ec0a8
@ -61,14 +61,15 @@ namespace NadekoBot.Services.Impl
|
||||
public async Task<string> Print()
|
||||
{
|
||||
var curUser = await client.GetCurrentUserAsync();
|
||||
return $@"`Author: Kwoth` `Library: Discord.Net`
|
||||
`Bot Version: {BotVersion}`
|
||||
`Bot id: {curUser.Id}`
|
||||
`Owners' Ids: {string.Join(", ", NadekoBot.Credentials.OwnerIds)}`
|
||||
`Uptime: {GetUptimeString()}`
|
||||
`Servers: {client.GetGuilds().Count} | TextChannels: {client.GetGuilds().SelectMany(g => g.GetChannels().Where(c => c is ITextChannel)).Count()} | VoiceChannels: {client.GetGuilds().SelectMany(g => g.GetChannels().Where(c => c is IVoiceChannel)).Count()}`
|
||||
`Commands Ran this session: {commandsRan}`
|
||||
`Messages: {messageCounter} ({messageCounter / (double)GetUptime().TotalSeconds:F2}/sec)` `Heap: {Heap} MB`";
|
||||
return $@"```css
|
||||
Author: [Kwoth] | Library: [Discord.Net]
|
||||
Bot Version: [{BotVersion}]
|
||||
Bot id: {curUser.Id}
|
||||
Owners Ids: {string.Join(", ", NadekoBot.Credentials.OwnerIds)}
|
||||
Uptime: {GetUptimeString()}
|
||||
Servers: {client.GetGuilds().Count} | TextChannels: {client.GetGuilds().SelectMany(g => g.GetChannels().Where(c => c is ITextChannel)).Count()} | VoiceChannels: {client.GetGuilds().SelectMany(g => g.GetChannels().Where(c => c is IVoiceChannel)).Count()}
|
||||
Commands Ran this session: {commandsRan}`
|
||||
Messages: {messageCounter} [{messageCounter / (double)GetUptime().TotalSeconds:F2}/sec] Heap: [{Heap} MB]```";
|
||||
}
|
||||
|
||||
public Task Reset()
|
||||
|
Loading…
Reference in New Issue
Block a user