Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Release 3.1.0 (#15)
Browse files Browse the repository at this point in the history
* Add missing CommandOptionTypes (#4)

* Update CommandOption.dart

* Fix indentation

* Merge dev into feat/option-types

Co-authored-by: Szymon Uglis <szymon@l7ssha.xyz>

* Bump version to 3.1.0 update LICENSE copyright

Co-authored-by: Harry Bairstow <h.bairstow22@gmail.com>
  • Loading branch information
l7ssha and HarryET authored Dec 27, 2021
1 parent ec8fa0c commit aee3c1b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.1.0
__27.12_2021__

- Add missing command option types (#4) @HarryET

## 3.0.0
__19.12.2021__

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2021 Szymon Uglis, Harry Bairstow and contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 6 additions & 0 deletions lib/src/models/command_option.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class CommandOptionType extends IEnum<int> {
/// Specify an arg as a role e.g. @RoleName
static const role = CommandOptionType(8);

/// Specify an arg as a mentionable user or role
static const mentionable = CommandOptionType(9);

/// Specify an arg as a double
static const number = CommandOptionType(10);

/// Create new instance of CommandArgType
const CommandOptionType(int value) : super(value);
}
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: nyxx_interactions
version: 3.0.0
version: 3.1.0
description: Nyxx Interactions Module. Discord library for Dart. Simple, robust framework for creating discord bots for Dart language.
homepage: https://github.com/nyxx-discord/nyxx
repository: https://github.com/nyxx-discord/nyxx
Expand Down

0 comments on commit aee3c1b

Please sign in to comment.