Update events.cs

Forgot a var >_>
This commit is contained in:
Alex Gravely
2017-06-20 20:44:33 -04:00
committed by GitHub
parent 759da09c38
commit 6e21d33999

View File

@@ -11,7 +11,7 @@ public class Program
// When working with events that have Cacheable<IMessage, ulong> parameters,
// you must enable the message cache in your config settings if you plan to
// use the cached message entity.
_config = new DiscordSocketConfig { MessageCacheSize = 100 };
var _config = new DiscordSocketConfig { MessageCacheSize = 100 };
_client = new DiscordSocketClient(_config);
await _client.LoginAsync(TokenType.Bot, "bot token");