Update events.cs
Forgot a var >_>
This commit is contained in:
@@ -11,7 +11,7 @@ public class Program
|
|||||||
// When working with events that have Cacheable<IMessage, ulong> parameters,
|
// When working with events that have Cacheable<IMessage, ulong> parameters,
|
||||||
// you must enable the message cache in your config settings if you plan to
|
// you must enable the message cache in your config settings if you plan to
|
||||||
// use the cached message entity.
|
// use the cached message entity.
|
||||||
_config = new DiscordSocketConfig { MessageCacheSize = 100 };
|
var _config = new DiscordSocketConfig { MessageCacheSize = 100 };
|
||||||
_client = new DiscordSocketClient(_config);
|
_client = new DiscordSocketClient(_config);
|
||||||
|
|
||||||
await _client.LoginAsync(TokenType.Bot, "bot token");
|
await _client.LoginAsync(TokenType.Bot, "bot token");
|
||||||
|
|||||||
Reference in New Issue
Block a user