added #bot-tag
This commit is contained in:
parent
e2f3bf3e05
commit
ccc2a95020
4
sudobot
4
sudobot
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user