tags_assign: user_id instead of prefix
This commit is contained in:
@ -165,7 +165,7 @@ export default async bot => {
|
||||
await sql("tags_assign").insert({
|
||||
tag_id: tag === "sfw" ? 1 : 2,
|
||||
item_id: insertq,
|
||||
prefix: `autotagger`
|
||||
user_id: 7 // user: autotagger
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ export default async bot => {
|
||||
}, {
|
||||
name: "tags add",
|
||||
call: /^\!tags add \d+ .*/i,
|
||||
active: true,
|
||||
active: false,
|
||||
level: 100,
|
||||
f: async e => {
|
||||
const id = +e.args[1];
|
||||
@ -71,7 +71,7 @@ export default async bot => {
|
||||
}, {
|
||||
name: "tags remove",
|
||||
call: /^\!tags remove \d+ .*/i,
|
||||
active: true,
|
||||
active: false,
|
||||
level: 100,
|
||||
f: async e => {
|
||||
const id = +e.args[1];
|
||||
|
Reference in New Issue
Block a user