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

@ -14,6 +14,8 @@ using System.Threading.Tasks;
namespace NadekoBot.Modules.Games
{
public partial class Games
{
public class TypingGame
{
public const float WORD_VALUE = 4.5f;
@ -191,4 +193,5 @@ namespace NadekoBot.Modules.Games
// await channel.SendMessageAsync("Added new article for typing game.").ConfigureAwait(false);
//}
}
}
}

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