added #bot-tag
This commit is contained in:
parent
e2f3bf3e05
commit
ccc2a95020
4
sudobot
4
sudobot
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Toots a sudo insult
|
# Toots a sudo insult
|
||||||
# Author: tastytea <tastytea@tastytea.de>
|
# Author: tastytea <tastytea@tastytea.de>
|
||||||
# Version: 2018-06-15_1
|
# Version: 2018-06-15_2
|
||||||
# Licence: CC-0 / Public Domain
|
# Licence: CC-0 / Public Domain
|
||||||
|
|
||||||
download()
|
download()
|
||||||
|
@ -20,7 +20,7 @@ send()
|
||||||
local text="$(sed ${random}\!d ${db})"
|
local text="$(sed ${random}\!d ${db})"
|
||||||
|
|
||||||
curl -sS --header "Authorization: Bearer ${token}" -X POST \
|
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()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue