reformatted to use my template
This commit is contained in:
51
lang.ts
Normal file
51
lang.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
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)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user