CC some folks
This commit is contained in:
parent
b9388843cf
commit
38ea6c9bbd
1 changed files with 4 additions and 2 deletions
|
|
@ -16,7 +16,8 @@ async def order_mastodon_post(session, orders_str, repeats, due_at):
|
||||||
post += orders_str + "\n\n"
|
post += orders_str + "\n\n"
|
||||||
if repeats > 1:
|
if repeats > 1:
|
||||||
post += f"These are the same orders from the last {repeats} days\n\n"
|
post += f"These are the same orders from the last {repeats} days\n\n"
|
||||||
post += "Proof of compliance is due by " + due_at.strftime("%I:%M %p")
|
post += "Proof of compliance is due by " + due_at.strftime("%I:%M %p") + "\n\n"
|
||||||
|
post += "CC - @chicagogear @s10boi"
|
||||||
|
|
||||||
m = Mastodon(session)
|
m = Mastodon(session)
|
||||||
return await m.statusPost(post)
|
return await m.statusPost(post)
|
||||||
|
|
@ -81,7 +82,8 @@ async def order_issue():
|
||||||
|
|
||||||
async def punishment_mastodon_post(session, punishment_str, reply_id=None):
|
async def punishment_mastodon_post(session, punishment_str, reply_id=None):
|
||||||
post = "@%s has failed to post proof of compliance. Here is the punishment -\n\n" % MASTODON_USERNAME
|
post = "@%s has failed to post proof of compliance. Here is the punishment -\n\n" % MASTODON_USERNAME
|
||||||
post += punishment_str
|
post += punishment_str + "\n\n"
|
||||||
|
post += "CC - @chicagogear @s10boi"
|
||||||
|
|
||||||
m = Mastodon(session)
|
m = Mastodon(session)
|
||||||
return await m.statusPost(
|
return await m.statusPost(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue