Esempio n. 1
0
        public InteractiveService(BaseSocketClient discord, InteractiveServiceConfig config = null)
        {
            Discord = discord;
            Discord.ReactionAdded += HandleReactionAsync;

            config ??= new InteractiveServiceConfig();
            _defaultTimeout = config.DefaultTimeout;

            _callbacks = new Dictionary <ulong, IReactionCallback>();
        }
Esempio n. 2
0
 public InteractiveService(DiscordShardedClient discord, InteractiveServiceConfig config = null)
     : this((BaseSocketClient)discord, config)
 {
 }