Global.Discord 1.1.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Global.Discord --version 1.1.4                
NuGet\Install-Package Global.Discord -Version 1.1.4                
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.
<PackageReference Include="Global.Discord" Version="1.1.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Global.Discord --version 1.1.4                
#r "nuget: Global.Discord, 1.1.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Global.Discord as a Cake Addin
#addin nuget:?package=Global.Discord&version=1.1.4

// Install Global.Discord as a Cake Tool
#tool nuget:?package=Global.Discord&version=1.1.4                

Global.Discord

Setup a discord bot in C# in less than 5 minutes with this quick and easy package.

This is an educational tool to help beginner Discord.Net Developers learn quickly, it is not a permanent replacement for a command handler class and should not be used as such.

Usage:

In your Program.cs simply copy and paste this:

public class Program { public static void Main(string[] args) ⇒ new Program().ProgramAsync().GetAwaiter().GetResult();

    public DiscordSocketClient _Client;
    public CommandService _Commands;
    public IServiceProvider _Services;
    public async Task ProgramAsync()
    {
        var PublicClient = new DiscordSocketClient();
        var Engine = new DiscordEngine();
        var Client = await Engine.StartupAsync("Configuration.json", PublicClient);
        _Client = Client;
        _Commands = new CommandService();
        _Services = Engine.ConfigureServices(_Client,_Commands);
        await _Commands.AddModulesAsync(Assembly.GetEntryAssembly(), _Services);
        var count = _Commands.Commands as List<CommandInfo>;
        await Task.Delay(-1);
    }

To add an event simple add

_Client.EventNameHere += MethodNameHere;

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.5 432 7/26/2021
1.1.4 498 7/24/2021 1.1.4 is deprecated because it is no longer maintained.