Getting rid of the channel restrictions

pull/8/head
sgoudham 4 years ago
parent be56793944
commit 8633e9ecdb

@ -6,7 +6,6 @@ from discord import Embed, Colour
from discord.ext import commands from discord.ext import commands
from discord.ext.commands import cooldown, BucketType, command from discord.ext.commands import cooldown, BucketType, command
import settings
from settings import colour_list from settings import colour_list
# Defining the full names of the waifu's/husbando's # Defining the full names of the waifu's/husbando's
@ -114,9 +113,6 @@ class Waifus_Husbandos(commands.Cog):
# Defining array for the list of waifus available # Defining array for the list of waifus available
waifu_array = ["toga", "yumeko", "maki"] waifu_array = ["toga", "yumeko", "maki"]
# If the channel that the command has been sent is in the list of accepted channels
if str(ctx.channel) in settings.channels:
# if a name is specified # if a name is specified
if waifu: if waifu:
# Get the lowercase # Get the lowercase
@ -166,9 +162,6 @@ class Waifus_Husbandos(commands.Cog):
# Defining array for the list of husbando's available # Defining array for the list of husbando's available
husbando_array = ["husk", "kakashi", "tamaki"] husbando_array = ["husk", "kakashi", "tamaki"]
# If the channel that the command has been sent is in the list of accepted channels
if str(ctx.channel) in settings.channels:
# if a name is specified # if a name is specified
if husbando: if husbando:
# Get the lowercase # Get the lowercase

Loading…
Cancel
Save