diff options
author | Mango0x45 <thomasvoss@live.com> | 2020-08-23 12:21:39 +0000 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2020-08-23 12:21:39 +0000 |
commit | 737771a4d7fd94c34292c69885faed49c6eb603a (patch) | |
tree | d261627dcae59a1a41c951b05d238eb08cbcba01 /cogs/src.py | |
parent | a1d82d89fe9bea901ddf6fc97f1add09fe1e7035 (diff) | |
download | steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.tar steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.tar.gz steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.tar.bz2 steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.tar.lz steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.tar.xz steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.tar.zst steve-bot-737771a4d7fd94c34292c69885faed49c6eb603a.zip |
Video filter splits on =
Diffstat (limited to 'cogs/src.py')
-rwxr-xr-x | cogs/src.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogs/src.py b/cogs/src.py index af54240..10cb824 100755 --- a/cogs/src.py +++ b/cogs/src.py @@ -152,7 +152,8 @@ async def pendingRuns(self, ctx): for run in pending_runs: # Reject run if video is blacklisted - if run.video.split('/')[-1] in self.bot.runs_blacklist["videos"]: + if run.video.split('/')[-1].split( + '=')[-1] in self.bot.runs_blacklist["videos"]: runs_to_reject.append( [run, 'Detected as spam by our automatic filter.']) |