mirror of
https://github.com/danbulant/Shasha
synced 2026-06-18 13:51:08 +00:00
moved to new category
This commit is contained in:
parent
55f86944d7
commit
a300ba20a0
8 changed files with 9 additions and 7 deletions
3
Main.js
3
Main.js
|
|
@ -29,6 +29,7 @@ client.registry
|
|||
'experiment',
|
||||
'image',
|
||||
'fun',
|
||||
"profile",
|
||||
"owner"
|
||||
])
|
||||
.registerDefaults()
|
||||
|
|
@ -101,7 +102,7 @@ client.on("messageUpdate", async (msgold, msgnew) => {
|
|||
});
|
||||
|
||||
client.on("guildMemberUpdate", async (memberold, membernew) => {
|
||||
console.log(memberold.toJSON(), "\n\n", membernew.toJSON());
|
||||
//console.log(memberold.toJSON(), "\n\n", membernew.toJSON());
|
||||
if (!membernew.user.dbLoaded && !membernew.user.bot) {
|
||||
await membernew.user.dbLoad();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ module.exports = class chat extends commando.Command {
|
|||
});
|
||||
}
|
||||
async run(msg, args) {
|
||||
if (args?.length === 0) {
|
||||
if (!args) {
|
||||
return trySend("Ask me somethin?");
|
||||
}
|
||||
return msg.channel.startTyping().then(
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ module.exports = class say extends commando.Command {
|
|||
super(client, {
|
||||
name: "say",
|
||||
memberName: "say",
|
||||
group: "utility",
|
||||
group: "fun",
|
||||
description: "Say."
|
||||
});
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@ module.exports = class send extends commando.Command {
|
|||
super(client, {
|
||||
name: "send",
|
||||
memberName: "send",
|
||||
group: "utility",
|
||||
group: "fun",
|
||||
description: "Send message to designated channel.",
|
||||
guildOnly:true
|
||||
});
|
||||
|
|
@ -11,7 +11,7 @@ module.exports = class avatar extends commando.Command {
|
|||
name: "avatar",
|
||||
aliases:["av","avat"],
|
||||
memberName: "avatar",
|
||||
group: "utility",
|
||||
group: "profile",
|
||||
description: "Avatar showcase."
|
||||
});
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@ module.exports = class profile extends commando.Command {
|
|||
super(client, {
|
||||
name: "profile",
|
||||
memberName: "profile",
|
||||
group: "utility",
|
||||
group: "profile",
|
||||
description: "Show Users/Member profile"
|
||||
});
|
||||
}
|
||||
|
|
@ -12,7 +12,7 @@ module.exports = class servav extends commando.Command {
|
|||
name: "serv-av",
|
||||
memberName: "serv-av",
|
||||
aliases: ["server-avatar", "serv-avatar", "server-av"],
|
||||
group: "utility",
|
||||
group: "profile",
|
||||
description: "Show server avatar."
|
||||
});
|
||||
}
|
||||
1
cmds/utility/perms.js
Normal file
1
cmds/utility/perms.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
'use strict';
|
||||
Loading…
Reference in a new issue