mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
make cli arg just post and not worry about if it has or not
This commit is contained in:
parent
b7403c945a
commit
bf5296eb83
1 changed files with 2 additions and 4 deletions
|
@ -96,10 +96,8 @@ def post_new_memes():
|
||||||
@click.argument("post_id")
|
@click.argument("post_id")
|
||||||
def post_meme(post_id):
|
def post_meme(post_id):
|
||||||
post = Post.get(id=post_id)
|
post = Post.get(id=post_id)
|
||||||
if not post.to_reddit:
|
make_post(post)
|
||||||
make_post(post)
|
post_discord_webhook(post)
|
||||||
if not post.to_discord:
|
|
||||||
post_discord_webhook(post)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
@app.cli.command("reddit_random")
|
@app.cli.command("reddit_random")
|
||||||
|
|
Loading…
Reference in a new issue