@satorijs/core
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -9,6 +9,9 @@ /// <reference types="ws" /> | ||
import Quester from 'cordis-axios'; | ||
export interface SendOptions { | ||
session?: Session; | ||
} | ||
export namespace Universal { | ||
interface Methods { | ||
sendMessage(channelId: string, content: segment.Fragment, guildId?: string): Promise<string[]>; | ||
sendPrivateMessage(userId: string, content: segment.Fragment): Promise<string[]>; | ||
sendMessage(channelId: string, content: segment.Fragment, guildId?: string, options?: SendOptions): Promise<string[]>; | ||
sendPrivateMessage(userId: string, content: segment.Fragment, options?: SendOptions): Promise<string[]>; | ||
getMessage(channelId: string, messageId: string): Promise<Message>; | ||
@@ -15,0 +18,0 @@ getMessageList(channelId: string, before?: string): Promise<Message[]>; |
{ | ||
"name": "@satorijs/core", | ||
"description": "Core components of Satorijs", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "lib/index.cjs", | ||
@@ -6,0 +6,0 @@ "module": "lib/index.mjs", |
96796
1204