updated functions.py
This commit is contained in:
@@ -25,7 +25,7 @@ def checkrole(roles):
|
|||||||
|
|
||||||
# check if the source channel is in the list of channels that are watched by the bot.
|
# check if the source channel is in the list of channels that are watched by the bot.
|
||||||
def checkchannel(channelid):
|
def checkchannel(channelid):
|
||||||
if channelid in env.PREVIEWCHANNELS:
|
if channelid in env.GIFCHANNELS:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user