GravyIrc 1.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package GravyIrc -Version 1.0.0
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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();
}
  • .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 319 8/11/2020
1.1.0 1,130 8/5/2020
1.0.2 403 7/29/2020
1.0.1 317 7/24/2020
1.0.0 249 7/22/2020
0.1.0-alpha2 180 7/22/2020
0.1.0-alpha 182 7/22/2020

Initial release