Christopher Felegy f6e320053b fix: ensure that exceptions will be logged
Resolves #1238.

I'm not sure where this bug came from, a git blame revealed no change to
the timed event handler code since it was initiall written two years
ago.

I've found that when the event handler times out, the handler task will
be manually completed (as opposed to within Task.WhenAny), which then
bubbles the exception and allows the error to be logged.

Ensuring that the handler is completed individually, regardless of
whether or not the timeout task completed, seems to fix this problem.
2019-05-18 09:42:37 -04:00
2018-12-20 17:22:57 -05:00
2019-03-17 13:06:16 -04:00
2019-05-13 18:29:47 -04:00
2018-09-30 17:44:33 -04:00
2018-01-06 22:30:04 -05:00
2015-08-09 11:36:55 -03:00
2019-01-04 12:04:52 -05:00
2018-09-30 17:44:33 -04:00
2019-05-13 18:29:47 -04:00
2019-03-17 13:12:23 -04:00

Discord.Net

NuGet MyGet Build Status Discord

An unofficial .NET API Wrapper for the Discord client (http://discordapp.com).

Check out the documentation or join the Discord API Chat.

Installation

Stable (NuGet)

Our stable builds available from NuGet through the Discord.Net metapackage:

The individual components may also be installed from NuGet:

Unstable (MyGet)

Nightly builds are available through our MyGet feed (https://www.myget.org/F/discord-net/api/v3/index.json).

Compiling

In order to compile Discord.Net, you require the following:

Using Visual Studio

The .NET Core workload must be selected during Visual Studio installation.

Using Command Line

Known Issues

WebSockets (Win7 and earlier)

.NET Core 1.1 does not support WebSockets on Win7 and earlier. This issue has been fixed since the release of .NET Core 2.1. It is recommended to target .NET Core 2.1 or above for your project if you wish to run your bot on legacy platforms; alternatively, you may choose to install the Discord.Net.Providers.WS4Net package.

Languages
C# 100%