mirror of
https://github.com/Myxelium/Lunaris2.0.git
synced 2026-07-09 06:15:09 +00:00
Restructure
This commit is contained in:
17
Bot/Helpers/DiscordSocketClientSetup.cs
Normal file
17
Bot/Helpers/DiscordSocketClientSetup.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Discord;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace Lunaris2.Helpers
|
||||
{
|
||||
public static class DiscordSocketClientSetup
|
||||
{
|
||||
public static DiscordSocketClient Setup()
|
||||
{
|
||||
var config = new DiscordSocketConfig
|
||||
{
|
||||
GatewayIntents = GatewayIntents.All
|
||||
};
|
||||
return new DiscordSocketClient(config);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user