Skip to content

Commit ad1ee9c

Browse files
committed
fixed small typo and Exeption => Exception typo form Player class
1 parent 3ace624 commit ad1ee9c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Diff for: Lavalink.NET/Lavalink.NET.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
<PackageLicenseUrl>https://github.com/Dev-Yukine/Lavalink.NET/blob/master/LICENSE</PackageLicenseUrl>
1111
<Copyright>MIT</Copyright>
1212
<PackageProjectUrl>https://github.com/Dev-Yukine/Lavalink.NET</PackageProjectUrl>
13-
<PackageReleaseNotes>https://github.com/Dev-Yukine/Lavalink.NET/releases/tag/1.2.0</PackageReleaseNotes>
13+
<PackageReleaseNotes>https://github.com/Dev-Yukine/Lavalink.NET/releases/tag/1.2.2</PackageReleaseNotes>
1414
<RepositoryUrl>https://github.com/Dev-Yukine/Lavalink.NET</RepositoryUrl>
1515
<RepositoryType>git</RepositoryType>
1616
<PackageTags>Lavalink</PackageTags>
1717
<Description>A C# Library to interact with Lavalink</Description>
1818
<PackageId>Lavalink.NET</PackageId>
19-
<Version>1.2.2</Version>
19+
<Version>1.2.3</Version>
2020
<FileVersion>1.0.0</FileVersion>
2121
<AssemblyVersion>1.0.0</AssemblyVersion>
2222
</PropertyGroup>

Diff for: Lavalink.NET/Library/Libraryinfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ abstract class Libraryinfo
99
/// <summary>
1010
/// The Version of this Library
1111
/// </summary>
12-
static public string Version = "1.2.2";
12+
static public string Version = "1.2.3";
1313
}
1414
}

Diff for: Lavalink.NET/Player/Player.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public class Player
1616
public event Func<TrackEndEvent, Task> End;
1717

1818
/// <summary>
19-
/// Event to call on Track Exeption.
19+
/// Event to call on Track Exception.
2020
/// </summary>
21-
public event Func<TrackExceptionEvent, Task> Exeption;
21+
public event Func<TrackExceptionEvent, Task> Exception;
2222

2323
/// <summary>
2424
/// Event to call on Track Stuck.
@@ -31,7 +31,7 @@ public class Player
3131
public ulong GuildID { get; private set; }
3232

3333
/// <summary>
34-
/// The current Status od this player.
34+
/// The current Status of this player.
3535
/// </summary>
3636
public Status Status { get; private set; } = Status.INSTANTIATED;
3737

@@ -79,7 +79,7 @@ public Player(Client client, ulong guildID)
7979
GuildID = guildID;
8080

8181
End += PlayerEndEvent;
82-
Exeption += PlayerExeptionEvent;
82+
Exception += PlayerExeptionEvent;
8383
Stuck += PlayerStuckEvent;
8484
}
8585

@@ -230,7 +230,7 @@ internal void EmitEvent(dynamic lavalinkEvent)
230230
End(JsonConvert.DeserializeObject<TrackEndEvent>(lavalinkEvent));
231231
break;
232232
case "TrackExeptionEvent":
233-
Exeption(JsonConvert.DeserializeObject<TrackExceptionEvent>(lavalinkEvent));
233+
Exception(JsonConvert.DeserializeObject<TrackExceptionEvent>(lavalinkEvent));
234234
break;
235235
case "TrackStuckEvent":
236236
Stuck(JsonConvert.DeserializeObject<TrackStuckEvent>(lavalinkEvent));

Diff for: changelog.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [1.2.2] - 27.06.2018
7+
## [1.2.3] - 03.07.2018
88

9-
# Added
10-
- [[6c86021b24](https://github.com/Dev-Yukine/Lavalink.NET/commit/95a43f20614213312a1058c83ae1d78820c47920)] Adds ShardCount to ClientOptions and default to 1.
9+
# Changed
10+
-

0 commit comments

Comments
 (0)