update/rebrand-name

This commit is contained in:
SowinskiBraeden committed 2023-09-02 15:26:09 -07:00
1 parent 5d945e4893
commit cfa5cab0a9
4 files changed
+14 -13

No files matched your search

+6 -6
View File
@@ -32,7 +32,7 @@ module.exports = {
},
{
name: "credits",
description: "DayzArmbands Credits",
description: "DayZR Bot Credits",
value: "credits",
type: 1,
},
@@ -55,7 +55,7 @@ module.exports = {
run: async (client, interaction, args, start) => {
if (args[0].name == 'version') {
const versionEmbed = new EmbedBuilder()
.setTitle(`Current DayzArmbands Version`)
.setTitle(`Current DayZR Bot Version`)
.setDescription(client.config.Version);
return interaction.send({ embeds: [versionEmbed] });
@@ -71,7 +71,7 @@ module.exports = {
.setColor(client.config.Colors.Default)
.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] });
else {
let cmd =
@@ -113,9 +113,9 @@ module.exports = {
} else if (args[0].name == 'support') {
const supportEmbed = new EmbedBuilder()
.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 require help to use the bot?
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: 'Uptime', value: `${client.secondsToDhms(process.uptime().toFixed(2))}`, 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] })
+2 -2
View File
@@ -1,6 +1,6 @@
const DayzArmbands = require('./structures/DayzArmbands');
const DayzR = require('./structures/DayzRBot');
const config = require('./config/config');
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()
+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "dayz-armbands",
"version": "8.11.0",
"description": "A General Purpose Discord Bot for DayZ Servers.",
"name": "dayz-r-bot",
"version": "9.0.0",
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
"main": "index.js",
"nodemonConfig": {
"ignore": [
@@ -17,7 +17,7 @@ const readline = require('readline');
const minute = 60000; // 1 minute in milliseconds
class DayzArmbands extends Client {
class DayzRBot extends Client {
constructor(options, config) {
super(options)
@@ -320,6 +320,7 @@ class DayzArmbands extends Client {
Channel.send(embed);
}
// Handles internal errors for slash commands. E.g failed to update database from slash command.
sendInternalError(Interaction, Error) {
this.error(Error);
@@ -442,4 +443,4 @@ class DayzArmbands extends Client {
}
}
module.exports = DayzArmbands;
module.exports = DayzRBot;