mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 23:48:01 +00:00
nanka
This commit is contained in:
parent
6a43a55b0b
commit
1946670f2c
|
@ -28,7 +28,7 @@ export default class extends Module {
|
||||||
|
|
||||||
const react = async (reaction: string, immediate = false) => {
|
const react = async (reaction: string, immediate = false) => {
|
||||||
if (!immediate) {
|
if (!immediate) {
|
||||||
await delay(1500);
|
await delay(Math.random() * 1000 * 60);
|
||||||
}
|
}
|
||||||
this.ai.api('notes/reactions/create', {
|
this.ai.api('notes/reactions/create', {
|
||||||
noteId: note.id,
|
noteId: note.id,
|
||||||
|
|
Loading…
Reference in a new issue