Update version; Fix style

This commit is contained in:
Szymon Uglis 2021-03-16 23:07:51 +01:00
parent 15aa62cbe2
commit 2ab9cd1b6e
No known key found for this signature in database
GPG key ID: 112376C5BEE91FE2
3 changed files with 20 additions and 9 deletions

View file

@ -123,9 +123,20 @@ class GatewayIntents {
static const int directMessageTyping = 1 << 14; static const int directMessageTyping = 1 << 14;
/// All unprivileged intents /// All unprivileged intents
static const int allUnprivileged = guilds | guildBans | guildEmojis | guildIntegrations | guildWebhooks | guildInvites static const int allUnprivileged =
| guildVoiceState | guildMessages | guildMessageReactions | guildMessageTyping | directMessages guilds
| directMessageReactions | directMessageTyping; | guildBans
| guildEmojis
| guildIntegrations
| guildWebhooks
| guildInvites
| guildVoiceState
| guildMessages
| guildMessageReactions
| guildMessageTyping
| directMessages
| directMessageReactions
| directMessageTyping;
/// All privileged intents /// All privileged intents
static const int allPrivileged = guildMembers | guildPresences; static const int allPrivileged = guildMembers | guildPresences;

View file

@ -29,7 +29,7 @@ class Constants {
static const String baseUri = "/api/v8"; static const String baseUri = "/api/v8";
/// Version of Nyxx /// Version of Nyxx
static const String version = "1.1.0-dev.1"; static const String version = "1.1.0-dev.5";
/// Url to Nyxx repo /// Url to Nyxx repo
static const String repoUrl = "https://github.com/l7ssha/nyxx"; static const String repoUrl = "https://github.com/l7ssha/nyxx";

View file

@ -1,5 +1,5 @@
name: nyxx name: nyxx
version: 1.1.0-dev.3 version: 1.1.0-dev.5
description: A Discord library for Dart. description: A Discord library for Dart.
homepage: https://github.com/l7ssha/nyxx homepage: https://github.com/l7ssha/nyxx
repository: https://github.com/l7ssha/nyxx repository: https://github.com/l7ssha/nyxx
@ -7,12 +7,12 @@ documentation: https://github.com/l7ssha/nyxx/wiki
issue_tracker: https://github.com/l7ssha/nyxx/issue issue_tracker: https://github.com/l7ssha/nyxx/issue
environment: environment:
sdk: '>=2.12.0-51.0.dev <3.0.0' sdk: '>=2.12.0 <2.13.0'
dependencies: dependencies:
logging: "^1.0.0-nullsafety.0"
http: "^0.13.0" http: "^0.13.0"
path: "^1.8.0-nullsafety.3" logging: "^1.0.0"
path: "^1.8.0"
dev_dependencies: dev_dependencies:
test: "^1.16.2" test: "^1.16.8"