Members
(constant) cli :Misskey
Misskey Client
Type:
- Misskey
 
- Since
 - v1.0.0
 
(constant) salmonjob :schedule
Regular schedule.
Type:
- schedule
 
- Since
 - v1.0.0
 
salmonjobExtra :schedule
Blank variable for scheduler.
Type:
- schedule
 
- Since
 - v1.0.0
 
Methods
getNowUnixTime() → {string}
Get UNIX Time now.
- Since
 - v1.0.0
 
Returns:
- UNIX time now.
 
- Type:
 - string
 
(async) salmonrun() → {void}
Make and send message to Misskey.
- Since
 - v1.0.0
 
Returns:
- Type:
 - void
 
(async) salmonrunextra() → {void}
Send the last hour message to Misskey
- Since
 - v1.0.0
 
Returns:
- Type:
 - void
 
(async) sendMessage(msg, visibility, cw, replyId) → {void}
Send message to Misskey.
Parameters:
| Name | Type | Default | Description | 
|---|---|---|---|
msg | string | Message to send.  | |
visibility | boolean | null | Flag of visibility.  | 
cw | boolean | null | Flag of CW.  | 
replyId | string | null | User ID to reply.  | 
- Since
 - v1.0.0
 
Returns:
- Type:
 - void
 
upNotice() → {void}
Send up message to misskey
- Since
 - v1.0.0
 
Returns:
- Type:
 - void