Files
IKEA-Canada-Support/lang.ts

52 lines
1.2 KiB
TypeScript

import Lang, { setLang } from "lang";
import { setEmsgShim } from "discordslash";
export default function() {
setLang({
main: {
login: 'Logged in as {user}'
},
command: {
ping: {
embed: true,
title: 'Pong!',
description: [
'Woah!',
'This descriptions has multiple lines'
],
color: '#a0cc75',
timestamp: true,
footer: {
text: '{username}',
iconURL: '{avatar}'
}
},
pingDescription: 'Pong!'
},
error: {
main: {
missingToken: 'Missing Discord Token, please enter the bot token into the token file'
},
general: {
noUser: 'Unable to retrieve guild user information, please try again',
noMember: 'Unable to retrieve guild member information, please try again',
noChannel: 'Unable to retrieve text channel information, please try again'
}
}
})
setEmsgShim(Lang)
}