From b4c2b219eaa42c340ef9f241149bf3ac89f25ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8A=E3=82=87=E3=81=86?= <143770907+VEDA00133912@users.noreply.github.com> Date: Mon, 20 Jan 2025 08:35:14 +0000 Subject: [PATCH] . --- commands/userinfo.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commands/userinfo.js b/commands/userinfo.js index 5ab23c7..6b79178 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -2,6 +2,11 @@ const { EmbedBuilder } = require('revolthandler.js'); exports.default = { name: 'userinfo', + guildOnly: { + errorMsg(message) { + message.reply('このコマンドはサーバー内でのみ使えます'); + }, +}, async code(message, args) { const userId = args[0] ? args[0].replace(/<@!?(.*?)>/, '$1') : message.authorId;