updated functions.py

This commit is contained in:
2025-03-30 20:49:57 +02:00
parent 9b3642c92b
commit 5721939412

View File

@@ -25,7 +25,7 @@ def checkrole(roles):
# check if the source channel is in the list of channels that are watched by the bot.
def checkchannel(channelid):
if channelid in env.PREVIEWCHANNELS:
if channelid in env.GIFCHANNELS:
return True
else:
return False