mirror of
https://github.com/thaldrin/thaldrin.git
synced 2024-08-14 23:57:21 +00:00
make util file and test in message event
This commit is contained in:
parent
b8a3e759de
commit
1292e4598b
2 changed files with 5 additions and 8 deletions
|
@ -71,9 +71,9 @@ export = {
|
||||||
if (ctx.isDeveloper) cmd.AuthorPermissions = "NONE"
|
if (ctx.isDeveloper) cmd.AuthorPermissions = "NONE"
|
||||||
|
|
||||||
console.log(ctx.isDeveloper)
|
console.log(ctx.isDeveloper)
|
||||||
// if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(
|
if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(
|
||||||
// lingua["en_US"].CHANNEL_NOT_NSFW
|
lingua["en_US"].CHANNEL_NOT_NSFW
|
||||||
// )
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,3 @@
|
||||||
import Language from "../../../lingua/index"
|
import Language from "./lingua/index"
|
||||||
|
|
||||||
|
export default Language
|
||||||
export default {
|
|
||||||
"en_US": Language.en_US
|
|
||||||
}
|
|
Loading…
Reference in a new issue