Pokemon module placeholder, Dragon should PR here
This commit is contained in:
@@ -3,7 +3,6 @@ using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
//using Manatee.Json.Serialization;
|
||||
|
||||
namespace NadekoBot.Classes.ClashOfClans
|
||||
{
|
||||
|
@@ -1,17 +1,15 @@
|
||||
using Discord.Commands;
|
||||
using NadekoBot.Classes.ClashOfClans;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Discord;
|
||||
using NadekoBot.Services;
|
||||
using NadekoBot.Attributes;
|
||||
|
||||
//todo DB
|
||||
namespace NadekoBot.Modules.ClashOfClans
|
||||
{
|
||||
[Module(",",AppendSpace = false)]
|
||||
@@ -19,8 +17,6 @@ namespace NadekoBot.Modules.ClashOfClans
|
||||
{
|
||||
public static ConcurrentDictionary<ulong, List<ClashWar>> ClashWars { get; set; } = new ConcurrentDictionary<ulong, List<ClashWar>>();
|
||||
|
||||
private readonly object writeLock = new object();
|
||||
|
||||
public ClashOfClansModule(ILocalization loc, CommandService cmds, IBotConfiguration config, IDiscordClient client) : base(loc, cmds, config, client)
|
||||
{
|
||||
}
|
||||
|
@@ -8,14 +8,11 @@ using System.Collections.Concurrent;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
//todo DB
|
||||
//todo Rewrite?
|
||||
|
||||
//todo Rewrite? Fix trivia not stopping bug
|
||||
namespace NadekoBot.Modules.Games.Commands
|
||||
{
|
||||
public partial class GamesModule
|
||||
{
|
||||
|
||||
[Group]
|
||||
public class TriviaCommands
|
||||
{
|
||||
|
26
src/NadekoBot/Modules/Pokemon/PokemonModule.cs
Normal file
26
src/NadekoBot/Modules/Pokemon/PokemonModule.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Discord.Commands;
|
||||
using Discord;
|
||||
using NadekoBot.Attributes;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Services;
|
||||
|
||||
namespace NadekoBot.Modules.Games.Commands
|
||||
{
|
||||
[Module(">", AppendSpace = false)]
|
||||
public partial class PokemonModule : DiscordModule
|
||||
{
|
||||
public PokemonModule(ILocalization loc, CommandService cmds, IBotConfiguration config, IDiscordClient client) : base(loc, cmds, config, client)
|
||||
{
|
||||
}
|
||||
|
||||
//todo Dragon should PR this in
|
||||
[LocalizedCommand, LocalizedDescription, LocalizedSummary]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
public async Task Poke(IMessage imsg)
|
||||
{
|
||||
var channel = imsg.Channel as IGuildChannel;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user