Skip to content

Commit

Permalink
use youtube_poll 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelcmtd committed Dec 31, 2024
1 parent d796147 commit ef7a933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion bin/jana.dart
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ void main(List<String> argv) async {
final target = DateTime(2000, 1, 1, 1, 0, 45);
final now = DateTime.now().copyWith(year: 2000, month: 1, day: 1, hour: 0);
final diff = target.difference(now);
log.info('interval: $target - $now = $diff');
if (diff < Duration(minutes: 1)) return Duration(minutes: 1);
if (diff > Duration(minutes: 30)) return Duration(minutes: 30);
return diff;
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: jana
description: A Discord bot
version: 2.0.0-beta.4
version: 2.0.0-beta.5
homepage: https://github.com/chrissxMedia/jana

environment:
Expand All @@ -16,7 +16,7 @@ dependencies:
nyxx_extensions: ^4.0.0
nyxx_lavalink: ^4.0.0-dev.1
youtube_explode_dart: ^2.0.0
youtube_poll: ^0.2.0
youtube_poll: ^0.2.1

dev_dependencies:
lints: ^5.0.0

0 comments on commit ef7a933

Please sign in to comment.