fix bot activity
This commit is contained in:
3 files changed
+6
-8
No files matched your search
+4
-6
@@ -1,11 +1,9 @@
|
|||||||
module.exports = async (client) => {
|
module.exports = async (client) => {
|
||||||
(client.Ready = true),
|
(client.Ready = true),
|
||||||
client.user.setActivity(client.config.Presence.name, {
|
client.user.setActivity(
|
||||||
type: client.config.Presence.type,
|
client.config.Presence.name,
|
||||||
})
|
client.config.Presence.type
|
||||||
client.user.setPresence({
|
);
|
||||||
status: client.config.Presence.status, // You can show online, idle, and dnd
|
|
||||||
});
|
|
||||||
client.log(`Successfully Logged in as ${client.user.tag}`);
|
client.log(`Successfully Logged in as ${client.user.tag}`);
|
||||||
client.log(`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`)
|
client.log(`Ready to serve in ${client.channels.cache.size} channels on ${client.guilds.cache.size} servers, for a total of ${client.users.cache.size} users.`)
|
||||||
client.RegisterSlashCommands();
|
client.RegisterSlashCommands();
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "quarksbot",
|
"name": "quarksbot",
|
||||||
"version": "13.2.2",
|
"version": "13.2.3",
|
||||||
"description": "Grand Theft Auto V Roleplay Bot",
|
"description": "Grand Theft Auto V Roleplay Bot",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class QuarksBot extends Client {
|
|||||||
|
|
||||||
if (!this.databaseConnected) {
|
if (!this.databaseConnected) {
|
||||||
let dbFailedEmbed = new EmbedBuilder()
|
let dbFailedEmbed = new EmbedBuilder()
|
||||||
.setDescription(`**Internal Error:**\nUh Oh D: Its not you, its me.\nThe bot has failed to connect to the database 5 times!\nContact the Developers\nhttps://discord.gg/YCXhvy9uZw`)
|
.setDescription(`**Internal Error:**\nUh Oh D: Its not you, its me.\nThe bot has failed to connect to the database 5 times!\nContact the Developers\nhttps://discord.gg/YCXhvy9uZw`)
|
||||||
.setColor(this.config.Colors.Red)
|
.setColor(this.config.Colors.Red)
|
||||||
|
|
||||||
return interaction.send({ embeds: [dbFailedEmbed] });
|
return interaction.send({ embeds: [dbFailedEmbed] });
|
||||||
|
|||||||
Reference in new issue
Block a user