Browse Source
Added build configs to move required files to interface working directory. Created Module project Template.pull/1/head
55 changed files with 3988 additions and 59 deletions
Binary file not shown.
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
||||
<PropertyGroup> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{42BB7F70-53A1-4FA4-80C2-9DB47A092FB0}</ProjectGuid> |
||||
<OutputType>Library</OutputType> |
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
||||
<RootNamespace>Help</RootNamespace> |
||||
<AssemblyName>Help</AssemblyName> |
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> |
||||
<FileAlignment>512</FileAlignment> |
||||
<TargetFrameworkProfile /> |
||||
<PublishUrl>publish\</PublishUrl> |
||||
<Install>true</Install> |
||||
<InstallFrom>Disk</InstallFrom> |
||||
<UpdateEnabled>false</UpdateEnabled> |
||||
<UpdateMode>Foreground</UpdateMode> |
||||
<UpdateInterval>7</UpdateInterval> |
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits> |
||||
<UpdatePeriodically>false</UpdatePeriodically> |
||||
<UpdateRequired>false</UpdateRequired> |
||||
<MapFileExtensions>true</MapFileExtensions> |
||||
<ApplicationRevision>0</ApplicationRevision> |
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
||||
<IsWebBootstrapper>false</IsWebBootstrapper> |
||||
<UseApplicationTrust>false</UseApplicationTrust> |
||||
<BootstrapperEnabled>true</BootstrapperEnabled> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>full</DebugType> |
||||
<Optimize>false</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Help\Debug\</OutputPath> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
||||
<DebugType>pdbonly</DebugType> |
||||
<Optimize>true</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Help\Release\</OutputPath> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Core" /> |
||||
<Reference Include="System.Xml.Linq" /> |
||||
<Reference Include="System.Data.DataSetExtensions" /> |
||||
<Reference Include="Microsoft.CSharp" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Xml" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Help.cs" /> |
||||
<Compile Include="Properties\AssemblyInfo.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="..\..\Combot\Combot.csproj"> |
||||
<Project>{23e4c371-16e4-4fac-8b11-44288399bb55}</Project> |
||||
<Name>Combot</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\IRCServices\IRCServices.csproj"> |
||||
<Project>{65fcbf1c-8c9e-4688-becc-185d9030899f}</Project> |
||||
<Name>IRCServices</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="Module.config"> |
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
||||
</None> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5.1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>Microsoft .NET Framework 4.5.1 %28x86 and x64%29</ProductName> |
||||
<Install>true</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
||||
<PropertyGroup> |
||||
<PostBuildEvent>mkdir "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetPath)" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetDir)Module.config" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)"</PostBuildEvent> |
||||
</PropertyGroup> |
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
||||
Other similar extension points exist, see Microsoft.Common.targets. |
||||
<Target Name="BeforeBuild"> |
||||
</Target> |
||||
<Target Name="AfterBuild"> |
||||
</Target> |
||||
--> |
||||
</Project> |
@ -0,0 +1,49 @@
@@ -0,0 +1,49 @@
|
||||
{ |
||||
"Name": "Help", |
||||
"ClassName": "Help", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Commands": [ |
||||
{ |
||||
"Name": "Help", |
||||
"Description": "Displays help information for the bot.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"help" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Command", |
||||
"Description": "The command you want specific help on.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": false |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
0, |
||||
1, |
||||
2, |
||||
3, |
||||
4, |
||||
5, |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
} |
||||
], |
||||
"Options": [] |
||||
} |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
using System.Runtime.InteropServices; |
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Help Module")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("Teknik")] |
||||
[assembly: AssemblyProduct("Combot")] |
||||
[assembly: AssemblyCopyright("Copyright © 2015")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)] |
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("5c350b8e-5820-4034-9d67-49d2ddbfcc6f")] |
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")] |
||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
|
||||
using Combot.IRCServices.Messaging; |
||||
|
||||
namespace Combot.Modules.ModuleClasses |
||||
namespace Combot.Modules.Plugins |
||||
{ |
||||
public class Invite : Module |
||||
{ |
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
||||
<PropertyGroup> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{72CCA645-3E1D-4355-9BDE-5C1884BCB6FC}</ProjectGuid> |
||||
<OutputType>Library</OutputType> |
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
||||
<RootNamespace>Invite</RootNamespace> |
||||
<AssemblyName>Invite</AssemblyName> |
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> |
||||
<FileAlignment>512</FileAlignment> |
||||
<TargetFrameworkProfile /> |
||||
<PublishUrl>publish\</PublishUrl> |
||||
<Install>true</Install> |
||||
<InstallFrom>Disk</InstallFrom> |
||||
<UpdateEnabled>false</UpdateEnabled> |
||||
<UpdateMode>Foreground</UpdateMode> |
||||
<UpdateInterval>7</UpdateInterval> |
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits> |
||||
<UpdatePeriodically>false</UpdatePeriodically> |
||||
<UpdateRequired>false</UpdateRequired> |
||||
<MapFileExtensions>true</MapFileExtensions> |
||||
<ApplicationRevision>0</ApplicationRevision> |
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
||||
<IsWebBootstrapper>false</IsWebBootstrapper> |
||||
<UseApplicationTrust>false</UseApplicationTrust> |
||||
<BootstrapperEnabled>true</BootstrapperEnabled> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>full</DebugType> |
||||
<Optimize>false</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Invite\Debug\</OutputPath> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
||||
<DebugType>pdbonly</DebugType> |
||||
<Optimize>true</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Invite\Release\</OutputPath> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Core" /> |
||||
<Reference Include="System.Xml.Linq" /> |
||||
<Reference Include="System.Data.DataSetExtensions" /> |
||||
<Reference Include="Microsoft.CSharp" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Xml" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Invite.cs" /> |
||||
<Compile Include="Properties\AssemblyInfo.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="..\..\Combot\Combot.csproj"> |
||||
<Project>{23e4c371-16e4-4fac-8b11-44288399bb55}</Project> |
||||
<Name>Combot</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\IRCServices\IRCServices.csproj"> |
||||
<Project>{65fcbf1c-8c9e-4688-becc-185d9030899f}</Project> |
||||
<Name>IRCServices</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="Module.config"> |
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
||||
</None> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5.1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>Microsoft .NET Framework 4.5.1 %28x86 and x64%29</ProductName> |
||||
<Install>true</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
||||
<PropertyGroup> |
||||
<PostBuildEvent>mkdir "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetPath)" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetDir)Module.config" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)"</PostBuildEvent> |
||||
</PropertyGroup> |
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
||||
Other similar extension points exist, see Microsoft.Common.targets. |
||||
<Target Name="BeforeBuild"> |
||||
</Target> |
||||
<Target Name="AfterBuild"> |
||||
</Target> |
||||
--> |
||||
</Project> |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
{ |
||||
"Name": "Invite", |
||||
"ClassName": "Invite", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Commands": [], |
||||
"Options": [] |
||||
} |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
using System.Runtime.InteropServices; |
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Invite Module")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("Teknik")] |
||||
[assembly: AssemblyProduct("Combot")] |
||||
[assembly: AssemblyCopyright("Copyright © 2015")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)] |
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("5c350b8e-5820-4034-9d67-49d2ddbfcc6f")] |
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")] |
||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
||||
<PropertyGroup> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{2AD43A57-CDFF-4098-AC09-82159744C6E4}</ProjectGuid> |
||||
<OutputType>Library</OutputType> |
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
||||
<RootNamespace>Moderation</RootNamespace> |
||||
<AssemblyName>Moderation</AssemblyName> |
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> |
||||
<FileAlignment>512</FileAlignment> |
||||
<TargetFrameworkProfile /> |
||||
<PublishUrl>publish\</PublishUrl> |
||||
<Install>true</Install> |
||||
<InstallFrom>Disk</InstallFrom> |
||||
<UpdateEnabled>false</UpdateEnabled> |
||||
<UpdateMode>Foreground</UpdateMode> |
||||
<UpdateInterval>7</UpdateInterval> |
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits> |
||||
<UpdatePeriodically>false</UpdatePeriodically> |
||||
<UpdateRequired>false</UpdateRequired> |
||||
<MapFileExtensions>true</MapFileExtensions> |
||||
<ApplicationRevision>0</ApplicationRevision> |
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
||||
<IsWebBootstrapper>false</IsWebBootstrapper> |
||||
<UseApplicationTrust>false</UseApplicationTrust> |
||||
<BootstrapperEnabled>true</BootstrapperEnabled> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>full</DebugType> |
||||
<Optimize>false</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Moderation\Debug\</OutputPath> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
||||
<DebugType>pdbonly</DebugType> |
||||
<Optimize>true</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Moderation\Release\</OutputPath> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Core" /> |
||||
<Reference Include="System.Xml.Linq" /> |
||||
<Reference Include="System.Data.DataSetExtensions" /> |
||||
<Reference Include="Microsoft.CSharp" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Xml" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Moderation.cs" /> |
||||
<Compile Include="Properties\AssemblyInfo.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="..\..\Combot\Combot.csproj"> |
||||
<Project>{23e4c371-16e4-4fac-8b11-44288399bb55}</Project> |
||||
<Name>Combot</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\IRCServices\IRCServices.csproj"> |
||||
<Project>{65fcbf1c-8c9e-4688-becc-185d9030899f}</Project> |
||||
<Name>IRCServices</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="Module.config"> |
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
||||
</None> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5.1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>Microsoft .NET Framework 4.5.1 %28x86 and x64%29</ProductName> |
||||
<Install>true</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
||||
<PropertyGroup> |
||||
<PostBuildEvent>mkdir "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetPath)" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetDir)Module.config" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)"</PostBuildEvent> |
||||
</PropertyGroup> |
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
||||
Other similar extension points exist, see Microsoft.Common.targets. |
||||
<Target Name="BeforeBuild"> |
||||
</Target> |
||||
<Target Name="AfterBuild"> |
||||
</Target> |
||||
--> |
||||
</Project> |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
using System.Runtime.InteropServices; |
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Moderation Module")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("Teknik")] |
||||
[assembly: AssemblyProduct("Combot")] |
||||
[assembly: AssemblyCopyright("Copyright © 2015")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)] |
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("5c350b8e-5820-4034-9d67-49d2ddbfcc6f")] |
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")] |
||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,407 @@
@@ -0,0 +1,407 @@
|
||||
{ |
||||
"Name": "Owner Control", |
||||
"ClassName": "Owner_Control", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Commands": [ |
||||
{ |
||||
"Name": "Change Nick", |
||||
"Description": "Changes the bot's nickname.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"nick" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Nickname", |
||||
"Description": "The nickname you want the bot to change to.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Identify", |
||||
"Description": "Identifies with NickServ using the password saved in the configuration.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"id", |
||||
"identify" |
||||
], |
||||
"Arguments": [], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Join Channel", |
||||
"Description": "Joins the specified channel.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"join" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want the bot to join.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Part Channel", |
||||
"Description": "Parts the specified channel, or the current one if one isn't specified.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"part" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want the bot to leave.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
0 |
||||
], |
||||
"Required": false |
||||
}, |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want the bot to leave.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Speak", |
||||
"Description": "Sends a private message to the specified target.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"say", |
||||
"speak" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Target", |
||||
"Description": "The channel or nickname you want to private message.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
}, |
||||
{ |
||||
"Name": "Message", |
||||
"Description": "The message you want relayed.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Action", |
||||
"Description": "Sends a CTCP action command with message to a specified channel.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"action" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want to display the action on.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
}, |
||||
{ |
||||
"Name": "Message", |
||||
"Description": "The action message to be displayed.", |
||||
"AllowedValues": [], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Quit", |
||||
"Description": "Quits the specified type.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"quit" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Description": "The thing you want to quit.", |
||||
"AllowedValues": [ |
||||
"Server", |
||||
"Client" |
||||
], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "Cycle", |
||||
"Description": "Cycles the specified type.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"cycle" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Description": "The thing you want to cycle.", |
||||
"AllowedValues": [ |
||||
"Channel", |
||||
"Server", |
||||
"Client" |
||||
], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
}, |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want to cycle.", |
||||
"AllowedValues": [], |
||||
"DependentArguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Values": [ |
||||
"Channel" |
||||
] |
||||
} |
||||
], |
||||
"MessageTypes": [ |
||||
0 |
||||
], |
||||
"Required": false |
||||
}, |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want to cycle.", |
||||
"AllowedValues": [], |
||||
"DependentArguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Values": [ |
||||
"Channel" |
||||
] |
||||
} |
||||
], |
||||
"MessageTypes": [ |
||||
1, |
||||
2 |
||||
], |
||||
"Required": false |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
}, |
||||
{ |
||||
"Name": "List", |
||||
"Description": "Sends a list of the specified type.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"list" |
||||
], |
||||
"Arguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Description": "The thing you want to list.", |
||||
"AllowedValues": [ |
||||
"Nicks", |
||||
"Channels", |
||||
"Servers", |
||||
"Modules" |
||||
], |
||||
"MessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
}, |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want to view the nicks from.", |
||||
"AllowedValues": [], |
||||
"DependentArguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Values": [ |
||||
"Nicks" |
||||
] |
||||
} |
||||
], |
||||
"MessageTypes": [ |
||||
0 |
||||
], |
||||
"Required": false |
||||
}, |
||||
{ |
||||
"Name": "Channel", |
||||
"Description": "The channel you want to view the nicks from.", |
||||
"AllowedValues": [], |
||||
"DependentArguments": [ |
||||
{ |
||||
"Name": "Type", |
||||
"Values": [ |
||||
"Nicks" |
||||
] |
||||
} |
||||
], |
||||
"MessageTypes": [ |
||||
1, |
||||
2 |
||||
], |
||||
"Required": true |
||||
} |
||||
], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||
"AllowedAccess": [ |
||||
6 |
||||
], |
||||
"ShowHelp": true, |
||||
"SpamCheck": true |
||||
} |
||||
], |
||||
"Options": [] |
||||
} |
@ -0,0 +1,106 @@
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
||||
<PropertyGroup> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<ProjectGuid>{D469C717-7625-40F1-966D-3C9DD00F5B9C}</ProjectGuid> |
||||
<OutputType>Library</OutputType> |
||||
<AppDesignerFolder>Properties</AppDesignerFolder> |
||||
<RootNamespace>Owner_Control</RootNamespace> |
||||
<AssemblyName>Owner Control</AssemblyName> |
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion> |
||||
<FileAlignment>512</FileAlignment> |
||||
<TargetFrameworkProfile /> |
||||
<IsWebBootstrapper>false</IsWebBootstrapper> |
||||
<PublishUrl>publish\</PublishUrl> |
||||
<Install>true</Install> |
||||
<InstallFrom>Disk</InstallFrom> |
||||
<UpdateEnabled>false</UpdateEnabled> |
||||
<UpdateMode>Foreground</UpdateMode> |
||||
<UpdateInterval>7</UpdateInterval> |
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits> |
||||
<UpdatePeriodically>false</UpdatePeriodically> |
||||
<UpdateRequired>false</UpdateRequired> |
||||
<MapFileExtensions>true</MapFileExtensions> |
||||
<ApplicationRevision>0</ApplicationRevision> |
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
||||
<UseApplicationTrust>false</UseApplicationTrust> |
||||
<BootstrapperEnabled>true</BootstrapperEnabled> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>full</DebugType> |
||||
<Optimize>false</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Owner Control\Debug\</OutputPath> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
||||
<DebugType>pdbonly</DebugType> |
||||
<Optimize>true</Optimize> |
||||
<OutputPath>..\..\Bin\Modules\Owner Control\Release\</OutputPath> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
<ErrorReport>prompt</ErrorReport> |
||||
<WarningLevel>4</WarningLevel> |
||||
</PropertyGroup> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Core" /> |
||||
<Reference Include="System.Xml.Linq" /> |
||||
<Reference Include="System.Data.DataSetExtensions" /> |
||||
<Reference Include="Microsoft.CSharp" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Xml" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="Owner_Control.cs" /> |
||||
<Compile Include="Properties\AssemblyInfo.cs" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="..\..\Combot\Combot.csproj"> |
||||
<Project>{23e4c371-16e4-4fac-8b11-44288399bb55}</Project> |
||||
<Name>Combot</Name> |
||||
</ProjectReference> |
||||
<ProjectReference Include="..\..\IRCServices\IRCServices.csproj"> |
||||
<Project>{65fcbf1c-8c9e-4688-becc-185d9030899f}</Project> |
||||
<Name>IRCServices</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5.1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>Microsoft .NET Framework 4.5.1 %28x86 and x64%29</ProductName> |
||||
<Install>true</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> |
||||
<Visible>False</Visible> |
||||
<ProductName>.NET Framework 3.5 SP1</ProductName> |
||||
<Install>false</Install> |
||||
</BootstrapperPackage> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="Module.config"> |
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
||||
</None> |
||||
</ItemGroup> |
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
||||
<PropertyGroup> |
||||
<PostBuildEvent>mkdir "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetPath)" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)" |
||||
copy /Y "$(TargetDir)Module.config" "$(SolutionDir)Bin\Interface\$(ConfigurationName)\Modules\$(TargetName)"</PostBuildEvent> |
||||
</PropertyGroup> |
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
||||
Other similar extension points exist, see Microsoft.Common.targets. |
||||
<Target Name="BeforeBuild"> |
||||
</Target> |
||||
<Target Name="AfterBuild"> |
||||
</Target> |
||||
--> |
||||
</Project> |
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
using System.Runtime.InteropServices; |
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Owner_Control Module")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("Teknik")] |
||||
[assembly: AssemblyProduct("Combot")] |
||||
[assembly: AssemblyCopyright("Copyright © 2015")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)] |
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("5c350b8e-5820-4034-9d67-49d2ddbfcc6f")] |
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")] |
||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
{ |
||||
"Name": "Ping Me", |
||||
"ClassName": "Ping_Me", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Commands": [ |
||||
{ |
||||
"Name": "Ping Me", |
||||
"Description": "Checks the time it takes for a PING to be returned from a nick.", |
||||
"Enabled": true, |
||||
"ChannelBlacklist": [], |
||||
"NickBlacklist": [], |
||||
"Triggers": [ |
||||
"pingme" |
||||
], |
||||
"Arguments": [], |
||||
"AllowedMessageTypes": [ |
||||
0, |
||||
1, |
||||
2 |
||||
], |
||||