コード例 #1
0
ファイル: ServerConfig.cs プロジェクト: MyouriAlter/Myouri
 public ServerConfig(Ranks ranks, RanksHelperClass ranksHelperClass,
                     AutoRolesHelperClass rolesHelperClassHelper, Servers servers,
                     Autoroles autoRoles)
 {
     _autoRoles            = autoRoles;
     _ranks                = ranks;
     _ranksHelperClass     = ranksHelperClass;
     _autoRolesHelperClass = rolesHelperClassHelper;
     _servers              = servers;
 }
コード例 #2
0
ファイル: CommandHandler.cs プロジェクト: MyouriAlter/Myouri
        //,LavaNode lavaNode)

        public CommandHandler(IServiceProvider provider,
                              DiscordSocketClient client, CommandService service, Servers servers,
                              AutoRolesHelperClass autoRolesHelperClass, ImageService imageService)
        {
            _provider             = provider;
            _client               = client;
            _service              = service;
            _servers              = servers;
            _autoRolesHelperClass = autoRolesHelperClass;
            _imageService         = imageService;
            //_lavaNode = lavaNode;
        }