reformatted to use my template

This commit is contained in:
2022-03-31 15:04:54 -05:00
parent a9ea7bf8d5
commit 7bac005fe7
32 changed files with 8222 additions and 783 deletions

51
lang.ts Normal file
View 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)
}