mirror of https://github.com/thaldrin/thaldrin.git
Compare commits
4 Commits
3c6d025298
...
5dfd4da7af
Author | SHA1 | Date |
---|---|---|
Lio Young | 5dfd4da7af | |
Lio Young | 2c302786cd | |
Lio Young | 2da5f4b69f | |
Lio Young | 4b2e03110a |
|
@ -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
|
||||
|
|
|
@ -39,6 +39,7 @@ services:
|
|||
- default
|
||||
networks:
|
||||
lantern:
|
||||
external: true
|
||||
volumes:
|
||||
grafana:
|
||||
prometheus:
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue