mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-06 22:16:29 +03:00
a ton of stuff
This commit is contained in:
parent
8644f70b14
commit
382add19a3
13 changed files with 304 additions and 67 deletions
|
@ -8,7 +8,8 @@ namespace Boyfriend;
|
|||
=> Init().GetAwaiter().GetResult();
|
||||
|
||||
private static readonly DiscordSocketConfig Config = new() {
|
||||
MessageCacheSize = 250
|
||||
MessageCacheSize = 250,
|
||||
GatewayIntents = GatewayIntents.All
|
||||
};
|
||||
public static readonly DiscordSocketClient Client = new(Config);
|
||||
|
||||
|
@ -18,6 +19,7 @@ namespace Boyfriend;
|
|||
|
||||
await Client.LoginAsync(TokenType.Bot, token);
|
||||
await Client.StartAsync();
|
||||
await Client.SetActivityAsync(new Game("Retrospecter - Electrospasm", ActivityType.Listening));
|
||||
|
||||
await new EventHandler().InitEvents();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue