This commit is contained in:
Lamp 2021-09-03 23:43:56 -07:00
parent 2ebd4b3208
commit 9f9647cfe7

@ -10,7 +10,7 @@ commands.push({
});
client.on("messageCreate", async message => {
if (message.channel.id != config.bot_channel) return;
if (message.channel.id != config.bot_channel || message.author.id == client.user.id) return;
let a = message.content.toLowerCase();
if (今漢字.音読み.includes(a)) {
await message.reply(`meaning: ${今漢字.意味}`);