added ;cfi and ;sfi, prepared for ;cw and ;sw

This commit is contained in:
Master Kwoth
2016-03-09 13:48:46 +01:00
parent 7bd1892e76
commit 08ae95d55d
5 changed files with 145 additions and 3 deletions

View File

@ -5,6 +5,7 @@ using PermsHandler = NadekoBot.Classes.Permissions.PermissionsHandler;
using System.Linq;
using System.Threading.Tasks;
using NadekoBot.Classes.Permissions;
using NadekoBot.Commands;
using NadekoBot.Extensions;
namespace NadekoBot.Modules {
@ -12,9 +13,8 @@ namespace NadekoBot.Modules {
public override string Prefix { get; } = ";";
public PermissionModule() {
//Empty for now
commands.Add(new FilterInvitesCommand());
}
//todo word filtering/invite bans (?:discord(?:\.gg|app\.com\/invite)\/(?<id>([\w]{16}|(?:[\w]+-?){3})))
public override void Install(ModuleManager manager) {
manager.CreateCommands("", cgb => {