Compare commits

...

4 Commits

Author SHA1 Message Date
Lio Young 5dfd4da7af ONE HECKIN STRING 2021-07-11 20:21:51 +02:00
Lio Young 2c302786cd add external networking to lantern network 2021-07-11 19:48:26 +02:00
Lio Young 2da5f4b69f update vars 2021-07-11 19:34:37 +02:00
Lio Young 4b2e03110a hopefully fix dockerfile 2021-07-11 19:19:37 +02:00
4 changed files with 8 additions and 4 deletions

View File

@ -10,7 +10,9 @@ RUN apk add --no-cache git
RUN npm i -g typescript
RUN npm i
RUN "rm -rf build/ && tsc && cp -r src/utils/lingua/langs build/src/utils/lingua/langs"
RUN rm -rf build
RUN tsc
RUN cp -r src/utils/lingua/langs build/src/utils/lingua/langs
RUN rm -rf src

View File

@ -39,6 +39,7 @@ services:
- default
networks:
lantern:
external: true
volumes:
grafana:
prometheus:

View File

@ -3,10 +3,11 @@ import { Context, Server } from '../../utils/types';
import lingua from '../../utils/lingua';
import { MessageEmbed } from 'discord.js';
import database from "../../utils/database"
import language from '../../utils/language';
function enabled(a: boolean, lang: string) {
// @ts-ignore
return a ? lingua[lang].MISC.ENABLED : lingua[lang].MISC.DISABLED
return a ? language.get(lang).misc.enabled : language.get(lang).misc.disabled;
}
export = class Settings extends Command {

View File

@ -29,14 +29,14 @@ export default {
{
id: "356323373443448843",
link: "https://twitter.com/ThalLycal",
nick: "Zuroth",
nick: "Thal",
reason: "Letting me use his Sona as a Mascot. <:lioLove:760165648063397942> "
},
],
/**
* Name of the Bot
*/
name: "Thaldrin Beta",
name: "Thaldrin",
source: `[t8.pm/source](https://t8.pm/source)`,
avatar: "https://thaldrin.media/avatar.png",
support: {