Skip to content

Commit

Permalink
Release 2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
l7ssha committed Jan 3, 2022
1 parent a8fe1fe commit f1f6ad2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.6.1

- Remove package that is not published yet
- Fixup info command

## 2.6.0

- Add new packages to docs index
Expand Down
2 changes: 1 addition & 1 deletion lib/src/commands/info_common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Future<ComponentMessageBuilder> infoGenericCommand(INyxxWebsocket client, [int s
..addField(name: "Memory usage (current/RSS)", content: getMemoryUsageString(), inline: true)
..addField(name: "Uptime", content: formatFull(client.startTime))
..addField(name: "Last doc update", content: formatFull(await fetchLastDocUpdate()))
..addField(name: "Last local docs index update", content: formatFull(lastDocCacheUpdate));
..addField(name: "Last local docs index update", content: lastDocCacheUpdate != null ? formatFull(lastDocCacheUpdate!) : 'never');

return ComponentMessageBuilder()
..embeds = [embed]
Expand Down
3 changes: 1 addition & 2 deletions lib/src/modules/docs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ const docUrls = [
"https://pub.dev/documentation/nyxx_lavalink/latest/index.json",
"https://pub.dev/documentation/nyxx_extensions/latest/index.json",
"https://pub.dev/documentation/nyxx_commands/latest/index.json",
"https://pub.dev/documentation/nyxx_sharding/latest/index.json",
];

late DateTime lastDocCacheUpdate;
late DateTime? lastDocCacheUpdate;
late DateTime lastDocUpdate;

DateTime lastDocUpdateTimer = DateTime(2005);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: running_on_dart
version: 2.6.0
version: 2.6.1
description: Discord Bot for nyxx development
homepage: https://github.com/nyxx-discord/running_on_dart
repository: https://github.com/nyxx-discord/running_on_dart
Expand Down

0 comments on commit f1f6ad2

Please sign in to comment.