added #bot-tag

This commit is contained in:
tastytea 2018-06-15 11:36:46 +02:00
parent e2f3bf3e05
commit ccc2a95020
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Toots a sudo insult
# Author: tastytea <tastytea@tastytea.de>
# Version: 2018-06-15_1
# Version: 2018-06-15_2
# Licence: CC-0 / Public Domain
download()
@ -20,7 +20,7 @@ send()
local text="$(sed ${random}\!d ${db})"
curl -sS --header "Authorization: Bearer ${token}" -X POST \
--data "spoiler_text=insult&status=${text}" https://${instance}/api/v1/statuses
--data "spoiler_text=insult&status=${text}"$'\n\n#bot' https://${instance}/api/v1/statuses
}
main()