Games commands should properly show up now

This commit is contained in:
Kwoth 2016-09-08 22:46:38 +02:00
parent 0a548523ab
commit 74eac23ed3
5 changed files with 163 additions and 159 deletions

View File

@ -10,7 +10,7 @@ using System.Threading.Tasks;
// because i don't want to waste my time on this cancerous command
namespace NadekoBot.Modules.Games
{
public partial class GamesModule
public partial class Games
{
[LocalizedCommand, LocalizedDescription, LocalizedSummary, LocalizedAlias]
[RequireContext(ContextType.Guild)]

View File

@ -26,6 +26,7 @@ namespace NadekoBot.Modules.Games
/// Check out GDL (its a growing gamedev community):
/// https://discord.gg/0TYNJfCU4De7YIk8
/// </summary>
[Group]
public class PlantPick
{

View File

@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace NadekoBot.Modules.Games
{
public partial class GamesModule
public partial class Games
{
public static ConcurrentDictionary<IGuild, Poll> ActivePolls = new ConcurrentDictionary<IGuild, Poll>();

View File

@ -13,6 +13,8 @@ using System.Linq;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Games
{
public partial class Games
{
public class TypingGame
{
@ -192,3 +194,4 @@ namespace NadekoBot.Modules.Games
//}
}
}
}

View File

@ -10,7 +10,7 @@ using System.Threading.Tasks;
//todo Rewrite? Fix trivia not stopping bug
namespace NadekoBot.Modules.Games
{
public partial class GamesModule
public partial class Games
{
[Group]
public class TriviaCommands