Change doorboy slack response texts
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
cce18b20a7
commit
59d756a845
@ -106,4 +106,7 @@ def view_slack_doorboy():
|
|||||||
subject = member.display_name
|
subject = member.display_name
|
||||||
msg = "%s %s door access for %s via Slack bot" % (status, door, subject)
|
msg = "%s %s door access for %s via Slack bot" % (status, door, subject)
|
||||||
spam(msg)
|
spam(msg)
|
||||||
return "Opening %s for %s" % (door, member.display_name)
|
if approved:
|
||||||
|
return "Opening %s for %s" % (door, subject)
|
||||||
|
else:
|
||||||
|
return "Permission denied"
|
||||||
|
Loading…
Reference in New Issue
Block a user