update/rebrand-name
This commit is contained in:
4 files changed
+14
-13
No files matched your search
+6
-6
@@ -32,7 +32,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "credits",
|
name: "credits",
|
||||||
description: "DayzArmbands Credits",
|
description: "DayZR Bot Credits",
|
||||||
value: "credits",
|
value: "credits",
|
||||||
type: 1,
|
type: 1,
|
||||||
},
|
},
|
||||||
@@ -55,7 +55,7 @@ module.exports = {
|
|||||||
run: async (client, interaction, args, start) => {
|
run: async (client, interaction, args, start) => {
|
||||||
if (args[0].name == 'version') {
|
if (args[0].name == 'version') {
|
||||||
const versionEmbed = new EmbedBuilder()
|
const versionEmbed = new EmbedBuilder()
|
||||||
.setTitle(`Current DayzArmbands Version`)
|
.setTitle(`Current DayZR Bot Version`)
|
||||||
.setDescription(client.config.Version);
|
.setDescription(client.config.Version);
|
||||||
|
|
||||||
return interaction.send({ embeds: [versionEmbed] });
|
return interaction.send({ embeds: [versionEmbed] });
|
||||||
@@ -71,7 +71,7 @@ module.exports = {
|
|||||||
.setColor(client.config.Colors.Default)
|
.setColor(client.config.Colors.Default)
|
||||||
.setDescription(`${Commands.join("\n")}
|
.setDescription(`${Commands.join("\n")}
|
||||||
|
|
||||||
DayzArmbands Version: v${client.config.Version}`);
|
DayZR Bot Version: v${client.config.Version}`);
|
||||||
if (!args[0].options[0]) return interaction.send({ embeds: [Embed] });
|
if (!args[0].options[0]) return interaction.send({ embeds: [Embed] });
|
||||||
else {
|
else {
|
||||||
let cmd =
|
let cmd =
|
||||||
@@ -113,9 +113,9 @@ module.exports = {
|
|||||||
} else if (args[0].name == 'support') {
|
} else if (args[0].name == 'support') {
|
||||||
const supportEmbed = new EmbedBuilder()
|
const supportEmbed = new EmbedBuilder()
|
||||||
.setColor(client.config.Colors.Default)
|
.setColor(client.config.Colors.Default)
|
||||||
.setDescription(`**__DayzArmbands Support__**
|
.setDescription(`**__DayZR Bot Support__**
|
||||||
|
|
||||||
Are you experiencing troubles with DayzArmbands?
|
Are you experiencing troubles with the DayZR Bot?
|
||||||
Do you have questions or concerns?
|
Do you have questions or concerns?
|
||||||
Do you require help to use the bot?
|
Do you require help to use the bot?
|
||||||
Do you have a feature you'd like to see?
|
Do you have a feature you'd like to see?
|
||||||
@@ -148,7 +148,7 @@ module.exports = {
|
|||||||
{ name: 'Latency', value: `${end - start}ms`, inline: true },
|
{ name: 'Latency', value: `${end - start}ms`, inline: true },
|
||||||
{ name: 'Uptime', value: `${client.secondsToDhms(process.uptime().toFixed(2))}`, inline: true },
|
{ name: 'Uptime', value: `${client.secondsToDhms(process.uptime().toFixed(2))}`, inline: true },
|
||||||
{ name: 'Bot Version', value: `${client.config.Dev} v${client.config.Version}`, inline: true },
|
{ name: 'Bot Version', value: `${client.config.Dev} v${client.config.Version}`, inline: true },
|
||||||
{ name: 'Discord Version', value: 'Discord.js v14.3.0', inline: true },
|
{ name: 'Discord Version', value: 'Discord.js v^14.8.0', inline: true },
|
||||||
)
|
)
|
||||||
|
|
||||||
return interaction.send({ embeds: [stats] })
|
return interaction.send({ embeds: [stats] })
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
const DayzArmbands = require('./structures/DayzArmbands');
|
const DayzR = require('./structures/DayzRBot');
|
||||||
const config = require('./config/config');
|
const config = require('./config/config');
|
||||||
const { GatewayIntentBits } = require('discord.js');
|
const { GatewayIntentBits } = require('discord.js');
|
||||||
|
|
||||||
let client = new DayzArmbands({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMembers] }, config);
|
let client = new DayzR({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMembers] }, config);
|
||||||
client.build()
|
client.build()
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "dayz-armbands",
|
"name": "dayz-r-bot",
|
||||||
"version": "8.11.0",
|
"version": "9.0.0",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const readline = require('readline');
|
|||||||
|
|
||||||
const minute = 60000; // 1 minute in milliseconds
|
const minute = 60000; // 1 minute in milliseconds
|
||||||
|
|
||||||
class DayzArmbands extends Client {
|
class DayzRBot extends Client {
|
||||||
|
|
||||||
constructor(options, config) {
|
constructor(options, config) {
|
||||||
super(options)
|
super(options)
|
||||||
@@ -320,6 +320,7 @@ class DayzArmbands extends Client {
|
|||||||
Channel.send(embed);
|
Channel.send(embed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Handles internal errors for slash commands. E.g failed to update database from slash command.
|
// Handles internal errors for slash commands. E.g failed to update database from slash command.
|
||||||
sendInternalError(Interaction, Error) {
|
sendInternalError(Interaction, Error) {
|
||||||
this.error(Error);
|
this.error(Error);
|
||||||
@@ -442,4 +443,4 @@ class DayzArmbands extends Client {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = DayzArmbands;
|
module.exports = DayzRBot;
|
||||||
Reference in new issue
Block a user