mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
actually don't add bad stuff
This commit is contained in:
parent
7c6f7037b0
commit
6a726d1a60
@ -50,8 +50,10 @@ class Downloader:
|
||||
author=ctx.message.author)
|
||||
if answer is None:
|
||||
await self.bot.say('Not adding repo.')
|
||||
return
|
||||
elif "i agree" not in answer.content.lower():
|
||||
await self.bot.say('Not adding repo.')
|
||||
return
|
||||
self.repos[repo_name] = {}
|
||||
self.repos[repo_name]['url'] = repo_url
|
||||
self.update_repo(repo_name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user