Upgrade Discord.net to V2.1
This commit is contained in:
parent
57698c8ce6
commit
8822e65e6a
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="CommandLineParser" Version="2.4.3" />
|
<PackageReference Include="CommandLineParser" Version="2.4.3" />
|
||||||
<PackageReference Include="Discord.Net">
|
<PackageReference Include="Discord.Net">
|
||||||
<Version>2.0.1</Version>
|
<Version>2.1.0</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.38.0.1488" />
|
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.38.0.1488" />
|
||||||
<PackageReference Include="HtmlAgilityPack" Version="1.9.1" />
|
<PackageReference Include="HtmlAgilityPack" Version="1.9.1" />
|
||||||
|
|
|
@ -79,7 +79,8 @@ namespace Geekbot.net
|
||||||
_client = new DiscordSocketClient(new DiscordSocketConfig
|
_client = new DiscordSocketClient(new DiscordSocketConfig
|
||||||
{
|
{
|
||||||
LogLevel = LogSeverity.Verbose,
|
LogLevel = LogSeverity.Verbose,
|
||||||
MessageCacheSize = 1000
|
MessageCacheSize = 1000,
|
||||||
|
ExclusiveBulkDelete = true
|
||||||
});
|
});
|
||||||
_client.Log += discordLogger.Log;
|
_client.Log += discordLogger.Log;
|
||||||
_commands = new CommandService();
|
_commands = new CommandService();
|
||||||
|
|
Loading…
Reference in a new issue