Skip to content

Commit

Permalink
Release 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
l7ssha committed Sep 25, 2023
1 parent bee200e commit b38c42c
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 226 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.3.2

- Fix docs command
- Remove prometheus

## 3.3.1

- Fix docs command
Expand Down
1 change: 0 additions & 1 deletion bin/running_on_dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ void main() async {
PoopNameService.init(client);
JoinLogsService.init(client);
TagService.init();
PrometheusService.init(client, commands);
MusicService.init(client);

// Connect
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
running_on_dart:
image: ghcr.io/nyxx-discord/running_on_dart:3.3.1
image: ghcr.io/nyxx-discord/running_on_dart:3.3.2
container_name: running_on_dart
env_file:
- .env
Expand Down
1 change: 0 additions & 1 deletion lib/running_on_dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export 'src/services/guild_settings.dart';
export 'src/services/join_logs.dart';
export 'src/services/music.dart';
export 'src/services/poop_name.dart';
export 'src/services/prometheus.dart';
export 'src/services/reminder.dart';
export 'src/services/tag.dart';
export 'src/settings.dart';
Expand Down
6 changes: 1 addition & 5 deletions lib/src/commands/docs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ import 'package:running_on_dart/running_on_dart.dart';
import 'package:running_on_dart/src/models/docs.dart';
import 'package:running_on_dart/src/util.dart';

ChatCommand docs = ChatCommand(
final docs = ChatGroup(
'docs',
'Search and get documentation for various packages',
id(
'docs',
(IChatContext context) =>
context.respond(MessageBuilder.content(defaultDocsResponse.trim()))),
children: [
ChatCommand(
'info',
Expand Down
6 changes: 1 addition & 5 deletions lib/src/commands/github.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ import 'package:running_on_dart/src/models/github.dart';
import 'package:running_on_dart/src/services/github.dart';
import 'package:running_on_dart/src/util.dart';

final github = ChatCommand(
final github = ChatGroup(
'github',
'Get information about nyxx on GitHub',
id(
'github',
(MessageChatContext context) => context
.respond(MessageBuilder.content(defaultGithubResponse.trim()))),
children: [
ChatCommand(
'info',
Expand Down
6 changes: 1 addition & 5 deletions lib/src/commands/tag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ import 'package:running_on_dart/running_on_dart.dart';
import 'package:running_on_dart/src/models/tag.dart';
import 'package:running_on_dart/src/util.dart';

ChatCommand tag = ChatCommand.textOnly(
final tag = ChatGroup(
'tag',
'Create and manage tags',
id(
'tag',
(IChatContext context, Tag tag) =>
context.respond(MessageBuilder.content(tag.content))),
children: [
ChatCommand(
'create',
Expand Down
206 changes: 0 additions & 206 deletions lib/src/services/prometheus.dart

This file was deleted.

2 changes: 1 addition & 1 deletion lib/src/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:io';

import 'package:nyxx/nyxx.dart';

String get version => '3.3.1';
String get version => '3.3.2';

/// Get a [String] from an environment variable, throwing an exception if it is not set.
///
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: 3.3.1
version: 3.3.2
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 b38c42c

Please sign in to comment.