This commit is contained in:
2022-03-29 23:26:01 -05:00
parent 5a62482891
commit 477d57d74c
10 changed files with 0 additions and 185 deletions

19
discord/lib/index.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
import { basicObject, basicObjectStringable } from '../..';
import { embedDataType } from './types';
/**
* reads language json as an object (could be embed or just string)
* @param id ex: discord.error.noActiveQueue
* @param argsraw list of key/value pairs to represent template values
* @param otherOptions values to be passed through to the return value
* @returns language value, defaults to `id` parameter
*/
declare function getEmbed(id: string, argsraw?: basicObjectStringable, otherOptions?: basicObject): embedDataType;
export * from '../..';
export * from './types';
export * from './util';
declare const _default: {
getEmbed: typeof getEmbed;
setLang: typeof import("../..").setLang;
get: (id: string, argsraw?: basicObjectStringable | undefined) => string;
};
export default _default;