Skip to content

Commit 064dd67

Browse files
author
Alex0622
committed
v.4.2.2
1 parent ebd8b75 commit 064dd67

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2009
-119
lines changed
File renamed without changes.

commands/deop.js renamed to EN/commands/deop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const exarotonClient = new Client(config.exarotonAPIkey);
1010
module.exports = {
1111
name: 'deop',
1212
description: 'Remove operators rights from players in Minecraft servers.',
13-
usage: '`'+prefix+'deop {server name|ID|address} {Minecraft player}',
13+
usage: '`'+prefix+'deop {server name|ID|address} {Minecraft player}`',
1414
permission: '`ADMINISTRATOR`',
1515
execute(msg, args){
1616
if(msg.member.hasPermission('ADMINISTRATOR')){
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ module.exports = {
3737
let name = args[0];
3838
let serverLists = await exarotonClient.getServers();
3939
let server = serverLists.find(server => server.name === name || server.id === name || server.address === name);
40-
await server.executeCommand('say Executing commands through API...');
40+
await server.executeCommand('/say Executing commands through API...');
4141
await server.executeCommand(args.slice(1).join(' '))
42-
await server.executeCommand('save-all');
42+
await server.executeCommand('/save-all');
4343
const executeEmbed = new Discord.MessageEmbed()
4444
.setDescription('Commands executed successfully.')
4545
.setColor(embedColor)

commands/help.js renamed to EN/commands/help.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module.exports = {
3131
);
3232
return;
3333
}
34+
3435
const commandHelpEmbed = new Discord.MessageEmbed()
3536
.setDescription(`**Help for command [${command.name.toUpperCase()}](https://github.com/Alex0622/PhoenixAPI-Bot/blob/main/commands/${command.name}.js)**`)
3637
.setColor(embedColor)

commands/info.js renamed to EN/commands/info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
{name:'Owner', value:'`Alex22#7756`', inline:true},
2121
{name:'Developed since', value: '`21/1/2021`', inline:true},
2222
{name:'Developed with', value:'`JavaScript & exaroton API`', inline:true},
23-
{name:'Current version', value:'[v4.2.1](https://github.com/Alex0622/PhoenixAPI-Bot/releases/tag/v4.2.1)', inline:true},
23+
{name:'Current version', value:'[v4.2.2](https://github.com/Alex0622/PhoenixAPI-Bot/releases/tag/v4.2.2)', inline:true},
2424
{name:'Prefix', value:'`'+prefix+'`', inline:true},
2525
{name:'Links', value:'[GitHub](https://github.com/Alex0622/PhoenixAPI-Bot) | [exaroton API documentation](https://support.exaroton.com/hc/en-us/articles/360019857878-API-documentation)', inline:false}
2626
)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)