GravyIrc 1.0.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package GravyIrc -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package GravyIrc --version 1.0.0
<PackageReference Include="GravyIrc" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GravyIrc --version 1.0.0
#r "nuget: GravyIrc, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GravyIrc as a Cake Addin
#addin nuget:?package=GravyIrc&version=1.0.0

// Install GravyIrc as a Cake Tool
#tool nuget:?package=GravyIrc&version=1.0.0

GravyIrc

Build Status GitHub issues Nuget Nuget

IRC client library targetting .NET Standard 2.0. Built off of the work done in fredimachado/NetIRC.

Goals

  • Up-to-date builds on NuGet
  • More complete coverage of IRC message types
  • Improved documentation

See the main documentation here

Quick Start

dotnet add package GravyIrc
public async void TestClient() {
    var user = new User(config.Nick, config.Identity);
    var client = new IrcClient(user, new TcpClientConnection());
    client.EventHub.Subscribe<RplWelcomeMessage>(Client_OnRegistered);
    client.EventHub.Subscribe<PrivateMessage>((client, args) => Console.WriteLine(args.IrcMessage.Message));
    await client.ConnectAsync(config.Server, config.Port);
}

private async void Client_OnRegistered(object sender, EventArgs e) {
    if (!string.IsNullOrEmpty(config.NickServ)) {
        await client.SendAsync(new PrivMsgMessage("NickServ", $"identify {config.NickServ}"));
    }
    await client.SendAsync(new ModeMessage(config.Nick, "+B"));
    await JoinDefaultChannels();
}
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on GravyIrc:

Package Downloads
GravyBot

IRC bot framework for GravyIrc

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 455 8/11/2020
1.1.0 1,667 8/5/2020
1.0.2 642 7/29/2020
1.0.1 524 7/24/2020
1.0.0 346 7/22/2020
0.1.0-alpha2 244 7/22/2020
0.1.0-alpha 247 7/22/2020

Initial release