nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit a0f9dff2bf7b2a19ee220b6754a684432f5e5bd3
parent 0992ea3903d66c92b713218e979ed70e4d723b7a
Author: night0721 <[email protected]>
Date:   Sat, 12 Jun 2021 20:16:07 +0800

DM command bug fixes

Diffstat:
Mcommands/Owner/dm.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/Owner/dm.js b/commands/Owner/dm.js @@ -11,7 +11,7 @@ module.exports = { * @param {String[]} args */ run: async (client, message, args) => { - const user = client.users.cache.get(id); + const user = client.users.cache.get(args[0]); if (!user) return message.inlineReply("User?"); if (!args.slice(1).join(" ")) return message.inlineReply("Message?"); try {