Nuget package updates

- discord
- changes InteractiveBase to ModuleBase
This commit is contained in:
Brett Hewitson 2022-06-21 23:44:14 +10:00
parent f416b5cd78
commit e12fd0e6e9
5 changed files with 19 additions and 15 deletions

View file

@ -33,13 +33,13 @@ namespace ServerManagerTool.DiscordBot.Services
throw new Exception("#DiscordBot_MissingTokenError");
}
// Load commands and modules into the command service
await _commands.AddModulesAsync(Assembly.GetExecutingAssembly(), _services);
// Login to discord
await _client.LoginAsync(TokenType.Bot, discordToken);
// Connect to the websocket
await _client.StartAsync();
// Load commands and modules into the command service
await _commands.AddModulesAsync(Assembly.GetExecutingAssembly(), _services);
}
}
}