a
This commit is contained in:
parent
2ebd4b3208
commit
9f9647cfe7
2
漢字ゲーム.js
2
漢字ゲーム.js
@ -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: ${今漢字.意味}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user