update config system
This commit is contained in:
@@ -3,7 +3,7 @@ import discord
|
||||
from discord.ext import commands
|
||||
from discord.ext.commands import Context, has_permissions
|
||||
import random
|
||||
import config
|
||||
import os
|
||||
|
||||
bad = ['бля', 'хуй', 'пиздец', 'сука', 'ебать', 'ебанат', 'хуя', 'уебан', 'пидор', 'ебаный', 'блять','уебу','пиздану','пизду', 'блядь', 'чивапчичи']
|
||||
|
||||
@@ -35,7 +35,8 @@ class Filter(commands.Cog):
|
||||
|
||||
|
||||
async def message(self, message, server_id, channel_id):
|
||||
if message.content.startswith(config.PREFIX):
|
||||
prefix = self.bot.getcfg.getprefix()
|
||||
if message.content.startswith(prefix):
|
||||
return
|
||||
name = 'msgsend'
|
||||
res = await self.bot.select(name, server_id, channel_id)
|
||||
|
||||
Reference in New Issue
Block a user