DM command bug fixes
This commit is contained in:
parent
0992ea3903
commit
a0f9dff2bf
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module.exports = {
|
||||||
* @param {String[]} args
|
* @param {String[]} args
|
||||||
*/
|
*/
|
||||||
run: async (client, message, 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 (!user) return message.inlineReply("User?");
|
||||||
if (!args.slice(1).join(" ")) return message.inlineReply("Message?");
|
if (!args.slice(1).join(" ")) return message.inlineReply("Message?");
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue