mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 14:19:56 +02:00
Multiple Owners
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
const { TOKEN, OWNER, COMMAND_PREFIX, INVITE } = process.env;
|
const { TOKEN, OWNERS, COMMAND_PREFIX, INVITE } = process.env;
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const { CommandoClient } = require('discord.js-commando');
|
const { CommandoClient } = require('discord.js-commando');
|
||||||
const client = new CommandoClient({
|
const client = new CommandoClient({
|
||||||
commandPrefix: COMMAND_PREFIX,
|
commandPrefix: COMMAND_PREFIX,
|
||||||
owner: OWNER,
|
owner: OWNERS.split(','),
|
||||||
invite: INVITE,
|
invite: INVITE,
|
||||||
disableEveryone: true,
|
disableEveryone: true,
|
||||||
unknownCommandResponse: false,
|
unknownCommandResponse: false,
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "31.2.4",
|
"version": "31.2.5",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Shard.js",
|
"main": "Shard.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user