mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Updoot
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "35.2.0",
|
||||
"version": "35.2.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Shard.js",
|
||||
"scripts": {
|
||||
@@ -34,8 +34,8 @@
|
||||
"canvas": "github:automattic/node-canvas",
|
||||
"common-tags": "^1.4.0",
|
||||
"custom-translate": "github:dragonfire535/custom-translate",
|
||||
"discord.js": "github:hydrabolt/discord.js#3a503ef56e40277f1fad428036b4ae455f4b65a0",
|
||||
"discord.js-commando": "github:dragonfire535/discord.js-commando#test",
|
||||
"discord.js": "github:SpaceEEC/discord.js#Shards",
|
||||
"discord.js-commando": "github:gawdl3y/discord.js-commando",
|
||||
"erlpack": "github:hammerandchisel/erlpack",
|
||||
"node-opus": "^0.2.6",
|
||||
"pg": "^6.4.2",
|
||||
|
||||
@@ -12,6 +12,7 @@ class XiaoCommand extends Command {
|
||||
}
|
||||
|
||||
hasPermission(msg) {
|
||||
super.hasPermission(msg);
|
||||
if (this.ownerOnly && !this.client.isOwner(msg.author)) {
|
||||
return `The \`${this.name}\` command can only be used by the bot owner.`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user