Esempio n. 1
0
 private DiscordConfiguration GetDefaultDiscordConfiguration()
 {
     return(new DiscordConfiguration()
     {
         Token = _botConfiguration.GetBotToken(),
         TokenType = TokenType.Bot,
         AutoReconnect = true,
         LogLevel = LogLevel.Info,
         UseInternalLogHandler = false
     });
 }
Esempio n. 2
0
 public MiunieDiscordClient(IBotConfiguration botConfig)
 {
     Client = new DiscordClient(new DiscordConfiguration
     {
         Token                 = botConfig.GetBotToken(),
         TokenType             = TokenType.Bot,
         AutoReconnect         = true,
         LogLevel              = LogLevel.Info,
         UseInternalLogHandler = false
     });
 }