koishi-plugin-ffxiv-lodestone
Version:
A koishi plugin that provides lodestone related feature for FFXIV players
14 lines (13 loc) • 559 B
TypeScript
import { Context } from 'koishi';
export declare type NewsCategory = 'topics' | 'notices' | 'maintenance' | 'updates' | 'status' | 'developers';
export declare type NewsRagion = 'na' | 'jp' | 'eu' | 'fr' | 'de';
export interface News {
id: string;
title: string;
url: string;
time: string;
image: string;
description: string;
}
export declare const getNews: (ctx: Context, count: number, category?: NewsCategory, ragion?: NewsRagion) => Promise<News[]>;
export declare const getWebpage: (ctx: Context, url: string) => Promise<string>;