mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Massive cleanup
- Removed GuildConfigs repository, moved to extensions - Moved StreamSettings extension to GuildConfig extensions - namespace NadekoBot.Core has been simplified to NadekoBot in many places (more to come) - Replaced some raw delete queries with simple linqtodb queries
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Common;
|
||||
using NadekoBot.Core.Modules.Gambling.Common.AnimalRacing;
|
||||
using NadekoBot.Modules.Gambling.Common.AnimalRacing;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Core.Services.Database.Models;
|
||||
using NadekoBot.Extensions;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using CommandLine;
|
||||
using NadekoBot.Core.Common;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.AnimalRacing
|
||||
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing
|
||||
{
|
||||
public class RaceOptions : INadekoCommandOptions
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common
|
||||
namespace NadekoBot.Modules.Gambling.Common
|
||||
{
|
||||
public class Betroll
|
||||
{
|
||||
|
@@ -8,7 +8,7 @@ using NadekoBot.Core.Services;
|
||||
using NadekoBot.Modules.Gambling.Common;
|
||||
using Serilog;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Blackjack
|
||||
namespace NadekoBot.Modules.Gambling.Common.Blackjack
|
||||
{
|
||||
public class Blackjack
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Blackjack
|
||||
namespace NadekoBot.Modules.Gambling.Common.Blackjack
|
||||
{
|
||||
public abstract class Player
|
||||
{
|
||||
|
@@ -3,7 +3,7 @@ using NadekoBot.Common;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common
|
||||
namespace NadekoBot.Modules.Gambling.Common
|
||||
{
|
||||
public class CurrencyRaffleGame
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
using CommandLine;
|
||||
using NadekoBot.Core.Common;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Events
|
||||
namespace NadekoBot.Modules.Gambling.Common.Events
|
||||
{
|
||||
public class EventOptions : INadekoCommandOptions
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Serilog;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Events
|
||||
namespace NadekoBot.Modules.Gambling.Common.Events
|
||||
{
|
||||
public class GameStatusEvent : ICurrencyEvent
|
||||
{
|
||||
|
@@ -11,10 +11,10 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Modules.Gambling.Services;
|
||||
using NadekoBot.Modules.Gambling.Services;
|
||||
using Serilog;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Events
|
||||
namespace NadekoBot.Modules.Gambling.Common.Events
|
||||
{
|
||||
public class ReactionEvent : ICurrencyEvent
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using NadekoBot.Common.Yml;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common
|
||||
namespace NadekoBot.Modules.Gambling.Common
|
||||
{
|
||||
public sealed class GamblingConfig
|
||||
{
|
||||
|
@@ -3,9 +3,9 @@ using Discord;
|
||||
using NadekoBot.Core.Services;
|
||||
using NadekoBot.Modules;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Core.Modules.Gambling.Services;
|
||||
using NadekoBot.Modules.Gambling.Services;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common
|
||||
namespace NadekoBot.Modules.Gambling.Common
|
||||
{
|
||||
public abstract class GamblingModule<TService> : NadekoModule<TService>
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common
|
||||
namespace NadekoBot.Modules.Gambling.Common
|
||||
{
|
||||
public class Payout
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common
|
||||
namespace NadekoBot.Modules.Gambling.Common
|
||||
{
|
||||
public class RollDuelGame
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Waifu
|
||||
namespace NadekoBot.Modules.Gambling.Common.Waifu
|
||||
{
|
||||
public enum AffinityTitle
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Waifu
|
||||
namespace NadekoBot.Modules.Gambling.Common.Waifu
|
||||
{
|
||||
public enum ClaimTitle
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Waifu
|
||||
namespace NadekoBot.Modules.Gambling.Common.Waifu
|
||||
{
|
||||
public enum DivorceResult
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Waifu
|
||||
namespace NadekoBot.Modules.Gambling.Common.Waifu
|
||||
{
|
||||
public enum WaifuClaimResult
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
namespace NadekoBot.Core.Modules.Gambling.Common.Waifu
|
||||
namespace NadekoBot.Modules.Gambling.Common.Waifu
|
||||
{
|
||||
public struct WaifuProfileTitle
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Common;
|
||||
using NadekoBot.Core.Modules.Gambling.Common;
|
||||
using NadekoBot.Modules.Gambling.Common;
|
||||
using NadekoBot.Core.Services;
|
||||
|
||||
namespace NadekoBot.Modules.Gambling.Common.WheelOfFortune
|
||||
|
Reference in New Issue
Block a user