Skip to content

Commit

Permalink
fixed small typo and Exeption => Exception typo form Player class
Browse files Browse the repository at this point in the history
  • Loading branch information
DevYukine committed Jul 3, 2018
1 parent 3ace624 commit ad1ee9c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Lavalink.NET/Lavalink.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<PackageLicenseUrl>https://github.com/Dev-Yukine/Lavalink.NET/blob/master/LICENSE</PackageLicenseUrl>
<Copyright>MIT</Copyright>
<PackageProjectUrl>https://github.com/Dev-Yukine/Lavalink.NET</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/Dev-Yukine/Lavalink.NET/releases/tag/1.2.0</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/Dev-Yukine/Lavalink.NET/releases/tag/1.2.2</PackageReleaseNotes>
<RepositoryUrl>https://github.com/Dev-Yukine/Lavalink.NET</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Lavalink</PackageTags>
<Description>A C# Library to interact with Lavalink</Description>
<PackageId>Lavalink.NET</PackageId>
<Version>1.2.2</Version>
<Version>1.2.3</Version>
<FileVersion>1.0.0</FileVersion>
<AssemblyVersion>1.0.0</AssemblyVersion>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Lavalink.NET/Library/Libraryinfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ abstract class Libraryinfo
/// <summary>
/// The Version of this Library
/// </summary>
static public string Version = "1.2.2";
static public string Version = "1.2.3";
}
}
10 changes: 5 additions & 5 deletions Lavalink.NET/Player/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class Player
public event Func<TrackEndEvent, Task> End;

/// <summary>
/// Event to call on Track Exeption.
/// Event to call on Track Exception.
/// </summary>
public event Func<TrackExceptionEvent, Task> Exeption;
public event Func<TrackExceptionEvent, Task> Exception;

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

/// <summary>
/// The current Status od this player.
/// The current Status of this player.
/// </summary>
public Status Status { get; private set; } = Status.INSTANTIATED;

Expand Down Expand Up @@ -79,7 +79,7 @@ public Player(Client client, ulong guildID)
GuildID = guildID;

End += PlayerEndEvent;
Exeption += PlayerExeptionEvent;
Exception += PlayerExeptionEvent;
Stuck += PlayerStuckEvent;
}

Expand Down Expand Up @@ -230,7 +230,7 @@ internal void EmitEvent(dynamic lavalinkEvent)
End(JsonConvert.DeserializeObject<TrackEndEvent>(lavalinkEvent));
break;
case "TrackExeptionEvent":
Exeption(JsonConvert.DeserializeObject<TrackExceptionEvent>(lavalinkEvent));
Exception(JsonConvert.DeserializeObject<TrackExceptionEvent>(lavalinkEvent));
break;
case "TrackStuckEvent":
Stuck(JsonConvert.DeserializeObject<TrackStuckEvent>(lavalinkEvent));
Expand Down
6 changes: 3 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.2.2] - 27.06.2018
## [1.2.3] - 03.07.2018

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

0 comments on commit ad1ee9c

Please sign in to comment.