Add t2.is
This commit is contained in:
parent
269e147c91
commit
92df21bf35
1 changed files with 21 additions and 0 deletions
21
t2.is
Normal file
21
t2.is
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
/// @ 0.12.4
|
||||||
|
### {
|
||||||
|
name: "T2"
|
||||||
|
version: "0.0.1"
|
||||||
|
author: "kio, yaseen, limhi"
|
||||||
|
description: "This plugin is against TOS. You're being reported."
|
||||||
|
}
|
||||||
|
|
||||||
|
Plugin:register_post_form_action('Append T2', @(note, rewrite) {
|
||||||
|
if (!note.text.trim() == '') {
|
||||||
|
rewrite('text', `{note.text}
|
||||||
|
|
||||||
|
This is against TOS. You’ve been reported.
|
||||||
|
|
||||||
|
I get that you’re excited to be here, but you gotta follow the rules. And this isn’t it. You’re not on Bluesky. We’re building a kind and safe community here. This kind of post isn’t the vibe we want.`)
|
||||||
|
} else {
|
||||||
|
rewrite('text', "This is against TOS. You’ve been reported.
|
||||||
|
|
||||||
|
I get that you’re excited to be here, but you gotta follow the rules. And this isn’t it. You’re not on Bluesky. We’re building a kind and safe community here. This kind of post isn’t the vibe we want.")
|
||||||
|
}
|
||||||
|
})
|
Loading…
Add table
Reference in a new issue