From 13209e0baeaef2cadfe5f4b0739688a35977b424 Mon Sep 17 00:00:00 2001 From: Noikoio Date: Mon, 17 Sep 2018 13:05:48 -0700 Subject: [PATCH] Changed compilation options --- BirthdayBot/BackgroundWorker.vb | 4 +--- BirthdayBot/BirthdayBot.vb | 4 +--- BirthdayBot/BirthdayBot.vbproj | 11 +++++++++++ BirthdayBot/Configuration.vb | 4 +--- BirthdayBot/Data/Database.vb | 4 +--- BirthdayBot/Data/GuildSettings.vb | 4 +--- BirthdayBot/Data/GuildUserSettings.vb | 4 +--- BirthdayBot/Program.vb | 2 -- BirthdayBot/UserInterface/CommandsCommon.vb | 4 +--- BirthdayBot/UserInterface/HelpInfoCommands.vb | 4 +--- BirthdayBot/UserInterface/ManagerCommands.vb | 4 +--- BirthdayBot/UserInterface/UserCommands.vb | 5 +---- 12 files changed, 21 insertions(+), 33 deletions(-) diff --git a/BirthdayBot/BackgroundWorker.vb b/BirthdayBot/BackgroundWorker.vb index 61c1702..e22e5e5 100644 --- a/BirthdayBot/BackgroundWorker.vb +++ b/BirthdayBot/BackgroundWorker.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports System.Text +Imports System.Text Imports System.Threading Imports Discord.WebSocket Imports NodaTime diff --git a/BirthdayBot/BirthdayBot.vb b/BirthdayBot/BirthdayBot.vb index dc3dd59..34f6ad2 100644 --- a/BirthdayBot/BirthdayBot.vb +++ b/BirthdayBot/BirthdayBot.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports BirthdayBot.CommandsCommon +Imports BirthdayBot.CommandsCommon Imports Discord Imports Discord.Net Imports Discord.WebSocket diff --git a/BirthdayBot/BirthdayBot.vbproj b/BirthdayBot/BirthdayBot.vbproj index 4cefe83..2e00ed3 100644 --- a/BirthdayBot/BirthdayBot.vbproj +++ b/BirthdayBot/BirthdayBot.vbproj @@ -10,6 +10,17 @@ Discord bot for birthday reminders. Sub Main + On + + + + + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + + + + + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 diff --git a/BirthdayBot/Configuration.vb b/BirthdayBot/Configuration.vb index f8f8932..7e4fb98 100644 --- a/BirthdayBot/Configuration.vb +++ b/BirthdayBot/Configuration.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports System.Reflection +Imports System.Reflection Imports Newtonsoft.Json.Linq Imports System.IO diff --git a/BirthdayBot/Data/Database.vb b/BirthdayBot/Data/Database.vb index a0ecfe2..1300e47 100644 --- a/BirthdayBot/Data/Database.vb +++ b/BirthdayBot/Data/Database.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports Npgsql +Imports Npgsql ''' ''' Some database abstractions. diff --git a/BirthdayBot/Data/GuildSettings.vb b/BirthdayBot/Data/GuildSettings.vb index 9585639..4b4e89e 100644 --- a/BirthdayBot/Data/GuildSettings.vb +++ b/BirthdayBot/Data/GuildSettings.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports System.Data.Common +Imports System.Data.Common Imports Npgsql Imports NpgsqlTypes diff --git a/BirthdayBot/Data/GuildUserSettings.vb b/BirthdayBot/Data/GuildUserSettings.vb index f191fa1..fb7dfd4 100644 --- a/BirthdayBot/Data/GuildUserSettings.vb +++ b/BirthdayBot/Data/GuildUserSettings.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports System.Data.Common +Imports System.Data.Common Imports Npgsql Imports NpgsqlTypes diff --git a/BirthdayBot/Program.vb b/BirthdayBot/Program.vb index 9a132e0..2b46ee4 100644 --- a/BirthdayBot/Program.vb +++ b/BirthdayBot/Program.vb @@ -1,5 +1,3 @@ -Option Strict On -Option Explicit On Imports Discord Imports Discord.WebSocket diff --git a/BirthdayBot/UserInterface/CommandsCommon.vb b/BirthdayBot/UserInterface/CommandsCommon.vb index ae8282c..2fbf50e 100644 --- a/BirthdayBot/UserInterface/CommandsCommon.vb +++ b/BirthdayBot/UserInterface/CommandsCommon.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports System.Text.RegularExpressions +Imports System.Text.RegularExpressions Imports Discord.WebSocket Imports NodaTime diff --git a/BirthdayBot/UserInterface/HelpInfoCommands.vb b/BirthdayBot/UserInterface/HelpInfoCommands.vb index 3a90720..2f0373e 100644 --- a/BirthdayBot/UserInterface/HelpInfoCommands.vb +++ b/BirthdayBot/UserInterface/HelpInfoCommands.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports Discord +Imports Discord Imports Discord.WebSocket Friend Class HelpInfoCommands diff --git a/BirthdayBot/UserInterface/ManagerCommands.vb b/BirthdayBot/UserInterface/ManagerCommands.vb index d021bf7..0767b70 100644 --- a/BirthdayBot/UserInterface/ManagerCommands.vb +++ b/BirthdayBot/UserInterface/ManagerCommands.vb @@ -1,6 +1,4 @@ -Option Strict On -Option Explicit On -Imports Discord.WebSocket +Imports Discord.WebSocket Friend Class ManagerCommands Inherits CommandsCommon diff --git a/BirthdayBot/UserInterface/UserCommands.vb b/BirthdayBot/UserInterface/UserCommands.vb index c581197..25e7c2f 100644 --- a/BirthdayBot/UserInterface/UserCommands.vb +++ b/BirthdayBot/UserInterface/UserCommands.vb @@ -1,8 +1,5 @@ -Option Strict On -Option Explicit On -Imports System.Text.RegularExpressions +Imports System.Text.RegularExpressions Imports Discord.WebSocket -Imports NodaTime Class UserCommands Inherits CommandsCommon