diff options
| author | Unknown <Alee14498@gmail.com> | 2017-09-10 15:11:42 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-09-10 15:11:42 -0400 |
| commit | d8944c600d168ac3da4c0acebf4eae5491038d20 (patch) | |
| tree | ae794d0c50c4482ed1df9ffb9de490f92b319f28 | |
| parent | 17bea479b915dacff3b8d190a0b08f4bfb8efd82 (diff) | |
| download | AleeChat-Old-d8944c600d168ac3da4c0acebf4eae5491038d20.tar.gz AleeChat-Old-d8944c600d168ac3da4c0acebf4eae5491038d20.tar.bz2 AleeChat-Old-d8944c600d168ac3da4c0acebf4eae5491038d20.zip | |
Added project files
| -rw-r--r-- | .gitattributes | 63 | ||||
| -rw-r--r-- | .gitignore | 245 | ||||
| -rw-r--r-- | AleeChat for Discord Bots.sln | 22 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/AleeChat for Discord Bots.csproj | 142 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/App.config | 14 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/DiscordBot.Designer.cs | 244 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/DiscordBot.cs | 103 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/DiscordBot.resx | 126 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/Program.cs | 22 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/Properties/AssemblyInfo.cs | 36 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/Properties/Resources.Designer.cs | 63 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/Properties/Resources.resx | 117 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/Properties/Settings.Designer.cs | 26 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/Properties/Settings.settings | 7 | ||||
| -rw-r--r-- | AleeChat for Discord Bots/packages.config | 48 |
15 files changed, 1278 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a2238d --- /dev/null +++ b/.gitignore @@ -0,0 +1,245 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +[Xx]64/ +[Xx]86/ +[Bb]uild/ +bld/ +[Bb]in/ +[Oo]bj/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# DNX +project.lock.json +artifacts/ + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml + +# TODO: Un-comment the next line if you do not want to checkin +# your web deploy settings because they may include unencrypted +# passwords +#*.pubxml +*.publishproj + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignoreable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Microsoft Azure ApplicationInsights config file +ApplicationInsights.config + +# Windows Store app package directory +AppPackages/ +BundleArtifacts/ + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ +orleans.codegen.cs + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# LightSwitch generated files +GeneratedArtifacts/ +ModelManifest.xml + +# Paket dependency manager +.paket/paket.exe + +# FAKE - F# Make +.fake/
\ No newline at end of file diff --git a/AleeChat for Discord Bots.sln b/AleeChat for Discord Bots.sln new file mode 100644 index 0000000..bbcf518 --- /dev/null +++ b/AleeChat for Discord Bots.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AleeChat for Discord Bots", "AleeChat for Discord Bots\AleeChat for Discord Bots.csproj", "{57DF3039-AFBE-472C-A718-1B1208B462D9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {57DF3039-AFBE-472C-A718-1B1208B462D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {57DF3039-AFBE-472C-A718-1B1208B462D9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {57DF3039-AFBE-472C-A718-1B1208B462D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {57DF3039-AFBE-472C-A718-1B1208B462D9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/AleeChat for Discord Bots/AleeChat for Discord Bots.csproj b/AleeChat for Discord Bots/AleeChat for Discord Bots.csproj new file mode 100644 index 0000000..8a431b9 --- /dev/null +++ b/AleeChat for Discord Bots/AleeChat for Discord Bots.csproj @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="14.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>{57DF3039-AFBE-472C-A718-1B1208B462D9}</ProjectGuid> + <OutputType>WinExe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>AleeChat_for_Discord_Bots</RootNamespace> + <AssemblyName>AleeChat for Discord Bots</AssemblyName> + <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Discord.Net.Commands, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Discord.Net.Commands.1.0.1\lib\netstandard1.1\Discord.Net.Commands.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Discord.Net.Core, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Discord.Net.Core.1.0.1\lib\net45\Discord.Net.Core.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Discord.Net.Rest, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Discord.Net.Rest.1.0.1\lib\net45\Discord.Net.Rest.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Discord.Net.Rpc, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Discord.Net.Rpc.1.0.1\lib\net45\Discord.Net.Rpc.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Discord.Net.Webhook, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Discord.Net.Webhook.1.0.1\lib\netstandard1.1\Discord.Net.Webhook.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Discord.Net.WebSocket, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Discord.Net.WebSocket.1.0.1\lib\net45\Discord.Net.WebSocket.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.Extensions.DependencyInjection, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Extensions.DependencyInjection.1.1.1\lib\netstandard1.1\Microsoft.Extensions.DependencyInjection.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.1.1.1\lib\netstandard1.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\System.Collections.Immutable.1.3.1\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.ComponentModel.Composition" /> + <Reference Include="System.Core" /> + <Reference Include="System.Interactive.Async, Version=3.0.1000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL"> + <HintPath>..\packages\System.Interactive.Async.3.1.1\lib\net45\System.Interactive.Async.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.IO.Compression" /> + <Reference Include="System.Numerics" /> + <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> + <HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath> + <Private>True</Private> + </Reference> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Deployment" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="DiscordBot.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DiscordBot.Designer.cs"> + <DependentUpon>DiscordBot.cs</DependentUpon> + </Compile> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <EmbeddedResource Include="Properties\Resources.resx"> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + <SubType>Designer</SubType> + </EmbeddedResource> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + <EmbeddedResource Include="DiscordBot.resx"> + <DependentUpon>DiscordBot.cs</DependentUpon> + </EmbeddedResource> + <None Include="packages.config" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DependentUpon>Settings.settings</DependentUpon> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + </Compile> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- 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>
\ No newline at end of file diff --git a/AleeChat for Discord Bots/App.config b/AleeChat for Discord Bots/App.config new file mode 100644 index 0000000..d097a72 --- /dev/null +++ b/AleeChat for Discord Bots/App.config @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /> + </startup> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="System.Interactive.Async" publicKeyToken="94bc3704cddfc263" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.0.1000.0" newVersion="3.0.1000.0" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration>
\ No newline at end of file diff --git a/AleeChat for Discord Bots/DiscordBot.Designer.cs b/AleeChat for Discord Bots/DiscordBot.Designer.cs new file mode 100644 index 0000000..ff4991f --- /dev/null +++ b/AleeChat for Discord Bots/DiscordBot.Designer.cs @@ -0,0 +1,244 @@ +namespace AleeChat_for_Discord_Bots +{ + partial class DiscordBot + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscordBot)); + this.label1 = new System.Windows.Forms.Label(); + this.discordConsole = new System.Windows.Forms.RichTextBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.sendButton = new System.Windows.Forms.Button(); + this.guildComboBox = new System.Windows.Forms.ComboBox(); + this.channelBox = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.tokenBox = new System.Windows.Forms.TextBox(); + this.loginButton = new System.Windows.Forms.Button(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.settingsButton = new System.Windows.Forms.Button(); + this.exitButton = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(44, 21); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(188, 13); + this.label1.TabIndex = 0; + this.label1.Text = "Welcome to AleeChat for Discord Bots"; + // + // discordConsole + // + this.discordConsole.Location = new System.Drawing.Point(33, 50); + this.discordConsole.Name = "discordConsole"; + this.discordConsole.ReadOnly = true; + this.discordConsole.Size = new System.Drawing.Size(665, 289); + this.discordConsole.TabIndex = 1; + this.discordConsole.Text = resources.GetString("discordConsole.Text"); + this.discordConsole.TextChanged += new System.EventHandler(this.discordConsole_TextChanged); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(79, 347); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(498, 20); + this.textBox1.TabIndex = 2; + this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); + // + // sendButton + // + this.sendButton.Location = new System.Drawing.Point(596, 344); + this.sendButton.Name = "sendButton"; + this.sendButton.Size = new System.Drawing.Size(75, 23); + this.sendButton.TabIndex = 3; + this.sendButton.Text = "Send"; + this.sendButton.UseVisualStyleBackColor = true; + this.sendButton.Click += new System.EventHandler(this.sendButton_Click); + // + // guildComboBox + // + this.guildComboBox.FormattingEnabled = true; + this.guildComboBox.Location = new System.Drawing.Point(177, 424); + this.guildComboBox.Name = "guildComboBox"; + this.guildComboBox.Size = new System.Drawing.Size(121, 21); + this.guildComboBox.TabIndex = 5; + this.guildComboBox.SelectedIndexChanged += new System.EventHandler(this.guildComboBox_SelectedIndexChanged); + // + // channelBox + // + this.channelBox.FormattingEnabled = true; + this.channelBox.Location = new System.Drawing.Point(374, 424); + this.channelBox.Name = "channelBox"; + this.channelBox.Size = new System.Drawing.Size(121, 21); + this.channelBox.TabIndex = 6; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(135, 427); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(36, 13); + this.label2.TabIndex = 7; + this.label2.Text = "Guilds"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(317, 427); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(51, 13); + this.label3.TabIndex = 8; + this.label3.Text = "Channels"; + // + // tokenBox + // + this.tokenBox.Location = new System.Drawing.Point(79, 377); + this.tokenBox.Name = "tokenBox"; + this.tokenBox.Size = new System.Drawing.Size(498, 20); + this.tokenBox.TabIndex = 9; + this.tokenBox.TextChanged += new System.EventHandler(this.tokenBox_TextChanged); + // + // loginButton + // + this.loginButton.Location = new System.Drawing.Point(596, 374); + this.loginButton.Name = "loginButton"; + this.loginButton.Size = new System.Drawing.Size(75, 23); + this.loginButton.TabIndex = 10; + this.loginButton.Text = "Login"; + this.loginButton.UseVisualStyleBackColor = true; + this.loginButton.Click += new System.EventHandler(this.loginButton_Click); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(44, 350); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(29, 13); + this.label4.TabIndex = 11; + this.label4.Text = "Chat"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(35, 380); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(38, 13); + this.label5.TabIndex = 12; + this.label5.Text = "Token"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(339, 21); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(61, 13); + this.label6.TabIndex = 13; + this.label6.Text = "Alpha 0.0.1"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(603, 21); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(95, 13); + this.label7.TabIndex = 14; + this.label7.Text = "Made By AleeCorp"; + // + // settingsButton + // + this.settingsButton.Location = new System.Drawing.Point(531, 422); + this.settingsButton.Name = "settingsButton"; + this.settingsButton.Size = new System.Drawing.Size(75, 23); + this.settingsButton.TabIndex = 15; + this.settingsButton.Text = "Settings"; + this.settingsButton.UseVisualStyleBackColor = true; + // + // exitButton + // + this.exitButton.Location = new System.Drawing.Point(623, 422); + this.exitButton.Name = "exitButton"; + this.exitButton.Size = new System.Drawing.Size(75, 23); + this.exitButton.TabIndex = 16; + this.exitButton.Text = "Exit"; + this.exitButton.UseVisualStyleBackColor = true; + this.exitButton.Click += new System.EventHandler(this.exitButton_Click); + // + // DiscordBot + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(734, 457); + this.ControlBox = false; + this.Controls.Add(this.exitButton); + this.Controls.Add(this.settingsButton); + this.Controls.Add(this.label7); + this.Controls.Add(this.label6); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.loginButton); + this.Controls.Add(this.tokenBox); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.channelBox); + this.Controls.Add(this.guildComboBox); + this.Controls.Add(this.sendButton); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.discordConsole); + this.Controls.Add(this.label1); + this.Name = "DiscordBot"; + this.Text = "Launcher"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.RichTextBox discordConsole; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button sendButton; + private System.Windows.Forms.ComboBox guildComboBox; + private System.Windows.Forms.ComboBox channelBox; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox tokenBox; + private System.Windows.Forms.Button loginButton; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Button settingsButton; + private System.Windows.Forms.Button exitButton; + } +} + diff --git a/AleeChat for Discord Bots/DiscordBot.cs b/AleeChat for Discord Bots/DiscordBot.cs new file mode 100644 index 0000000..a029038 --- /dev/null +++ b/AleeChat for Discord Bots/DiscordBot.cs @@ -0,0 +1,103 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using Discord; +using Discord.WebSocket; + +namespace AleeChat_for_Discord_Bots +{ + public partial class DiscordBot : Form + { + DiscordSocketClient Client; + + public DiscordBot() + { + InitializeComponent(); + } + + private void exitButton_Click(object sender, EventArgs e) + { + + } + + private void guildComboBox_SelectedIndexChanged(object sender, EventArgs e) + { + channelBox.Items.Clear(); + + foreach(var Guild in Client.Guilds) + { + if(Guild.Name == guildComboBox.Text) + { + foreach(var Tc in Guild.TextChannels) + { + channelBox.Items.Add(Tc.Name); + } + } + } + } + + private async void loginButton_Click(object sender, EventArgs e) + { + Client = new DiscordSocketClient(new DiscordSocketConfig() + { + LogLevel = LogSeverity.Verbose + }); + + Client.Log += Client_Log; + + try + { + await Client.LoginAsync(TokenType.Bot, tokenBox.Text); + await Client.StartAsync(); + } + catch + { + MessageBox.Show("Error occured while connecting your Bot!", "ERROR"); + return; + } + await Task.Delay(3000); + + foreach (var Guild in Client.Guilds) + { + guildComboBox.Items.Add(Guild.Name); + } + + guildComboBox.SelectedIndexChanged += guildComboBox_SelectedIndexChanged; + } + + private Task Client_Log(LogMessage arg) + { + Invoke((Action)delegate + { + discordConsole.AppendText(arg + "\n"); + }); + return null; + } + + private void discordConsole_TextChanged(object sender, EventArgs e) + { + + } + + private void tokenBox_TextChanged(object sender, EventArgs e) + { + + } + + private void textBox1_TextChanged(object sender, EventArgs e) + { + + } + + private void sendButton_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/AleeChat for Discord Bots/DiscordBot.resx b/AleeChat for Discord Bots/DiscordBot.resx new file mode 100644 index 0000000..7932cab --- /dev/null +++ b/AleeChat for Discord Bots/DiscordBot.resx @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="discordConsole.Text" xml:space="preserve"> + <value>Welcome to AleeChat for Discord Bots this program is still working progress so if you +want to make the bot work go to this website https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token +then paste your token in the token box and enjoy chatting as your bot! +</value> + </data> +</root>
\ No newline at end of file diff --git a/AleeChat for Discord Bots/Program.cs b/AleeChat for Discord Bots/Program.cs new file mode 100644 index 0000000..8f25154 --- /dev/null +++ b/AleeChat for Discord Bots/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace AleeChat_for_Discord_Bots +{ + static class Program + { + /// <summary> + /// The main entry point for the application. + /// </summary> + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new DiscordBot()); + } + } +} diff --git a/AleeChat for Discord Bots/Properties/AssemblyInfo.cs b/AleeChat for Discord Bots/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..640d5f1 --- /dev/null +++ b/AleeChat for Discord Bots/Properties/AssemblyInfo.cs @@ -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("AleeChat for Discord Bots")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Hewlett-Packard")] +[assembly: AssemblyProduct("AleeChat for Discord Bots")] +[assembly: AssemblyCopyright("Copyright © Hewlett-Packard 2017")] +[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("57df3039-afbe-472c-a718-1b1208b462d9")] + +// 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")] diff --git a/AleeChat for Discord Bots/Properties/Resources.Designer.cs b/AleeChat for Discord Bots/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4d2354f --- /dev/null +++ b/AleeChat for Discord Bots/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace AleeChat_for_Discord_Bots.Properties { + using System; + + + /// <summary> + /// A strongly-typed resource class, for looking up localized strings, etc. + /// </summary> + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Returns the cached ResourceManager instance used by this class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AleeChat_for_Discord_Bots.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/AleeChat for Discord Bots/Properties/Resources.resx b/AleeChat for Discord Bots/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/AleeChat for Discord Bots/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/AleeChat for Discord Bots/Properties/Settings.Designer.cs b/AleeChat for Discord Bots/Properties/Settings.Designer.cs new file mode 100644 index 0000000..09cb393 --- /dev/null +++ b/AleeChat for Discord Bots/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace AleeChat_for_Discord_Bots.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/AleeChat for Discord Bots/Properties/Settings.settings b/AleeChat for Discord Bots/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/AleeChat for Discord Bots/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> + <Profiles> + <Profile Name="(Default)" /> + </Profiles> + <Settings /> +</SettingsFile> diff --git a/AleeChat for Discord Bots/packages.config b/AleeChat for Discord Bots/packages.config new file mode 100644 index 0000000..56b3ce1 --- /dev/null +++ b/AleeChat for Discord Bots/packages.config @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Discord.Net" version="1.0.1" targetFramework="net452" /> + <package id="Discord.Net.Commands" version="1.0.1" targetFramework="net452" /> + <package id="Discord.Net.Core" version="1.0.1" targetFramework="net452" /> + <package id="Discord.Net.Rest" version="1.0.1" targetFramework="net452" /> + <package id="Discord.Net.Rpc" version="1.0.1" targetFramework="net452" /> + <package id="Discord.Net.Webhook" version="1.0.1" targetFramework="net452" /> + <package id="Discord.Net.WebSocket" version="1.0.1" targetFramework="net452" /> + <package id="Microsoft.Extensions.DependencyInjection" version="1.1.1" targetFramework="net452" /> + <package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="1.1.1" targetFramework="net452" /> + <package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net452" /> + <package id="NETStandard.Library" version="1.6.1" targetFramework="net452" /> + <package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" /> + <package id="System.Collections" version="4.3.0" targetFramework="net452" /> + <package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net452" /> + <package id="System.Collections.Immutable" version="1.3.1" targetFramework="net452" /> + <package id="System.ComponentModel" version="4.3.0" targetFramework="net452" /> + <package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net452" /> + <package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net452" /> + <package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net452" /> + <package id="System.Globalization" version="4.3.0" targetFramework="net452" /> + <package id="System.Interactive.Async" version="3.1.1" targetFramework="net452" /> + <package id="System.IO" version="4.3.0" targetFramework="net452" /> + <package id="System.IO.Compression" version="4.3.0" targetFramework="net452" /> + <package id="System.Linq" version="4.3.0" targetFramework="net452" /> + <package id="System.Linq.Expressions" version="4.3.0" targetFramework="net452" /> + <package id="System.Net.Http" version="4.3.0" targetFramework="net452" /> + <package id="System.Net.Primitives" version="4.3.0" targetFramework="net452" /> + <package id="System.ObjectModel" version="4.3.0" targetFramework="net452" /> + <package id="System.Reflection" version="4.3.0" targetFramework="net452" /> + <package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net452" /> + <package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net452" /> + <package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net452" /> + <package id="System.Runtime" version="4.3.0" targetFramework="net452" /> + <package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net452" /> + <package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net452" /> + <package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" /> + <package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net452" /> + <package id="System.Text.Encoding" version="4.3.0" targetFramework="net452" /> + <package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net452" /> + <package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net452" /> + <package id="System.Threading" version="4.3.0" targetFramework="net452" /> + <package id="System.Threading.Tasks" version="4.3.0" targetFramework="net452" /> + <package id="System.Threading.Timer" version="4.3.0" targetFramework="net452" /> + <package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net452" /> + <package id="System.Xml.XDocument" version="4.3.0" targetFramework="net452" /> +</packages>
\ No newline at end of file |
