make cli arg just post and not worry about if it has or not

graphs-n-shit
lza_menace 4 years ago
parent b7403c945a
commit bf5296eb83

@ -96,10 +96,8 @@ def post_new_memes():
@click.argument("post_id")
def post_meme(post_id):
post = Post.get(id=post_id)
if not post.to_reddit:
make_post(post)
if not post.to_discord:
post_discord_webhook(post)
make_post(post)
post_discord_webhook(post)
return
@app.cli.command("reddit_random")

Loading…
Cancel
Save