mirror of https://github.com/thaldrin/thaldrin.git
make util file and test in message event
This commit is contained in:
parent
b8a3e759de
commit
1292e4598b
|
@ -71,9 +71,9 @@ export = {
|
|||
if (ctx.isDeveloper) cmd.AuthorPermissions = "NONE"
|
||||
|
||||
console.log(ctx.isDeveloper)
|
||||
// if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(
|
||||
// lingua["en_US"].CHANNEL_NOT_NSFW
|
||||
// )
|
||||
if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(
|
||||
lingua["en_US"].CHANNEL_NOT_NSFW
|
||||
)
|
||||
|
||||
}
|
||||
}
|
|
@ -1,6 +1,3 @@
|
|||
import Language from "../../../lingua/index"
|
||||
import Language from "./lingua/index"
|
||||
|
||||
|
||||
export default {
|
||||
"en_US": Language.en_US
|
||||
}
|
||||
export default Language
|
Loading…
Reference in New Issue