Nixx
Nixx
Explore posts from servers
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/17/2023 in #djs-questions
.setActivity not working for me
I fixed it thankfully, I forgot to remove a previous instance of the line client.user.setActivity('activity', { type: ActivityType.Watching }); so it was trying to execute before my bot was online as you just mentioned, everything is running as intended now thank you.
4 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/13/2023 in #djs-questions
Creating a word counter with mongodb and discord.js
where exactly do I ask a question like this?
5 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
Okay thank you, I will mark this question as solved. Thank you!
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
are the recommendations?
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
So mongodb and sqlite
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
I understand
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
I have never used dbs thats why im trying to avoid it 😭
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
is there an easier way without setting up a whole db though?
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
all i want to do is permantly store the count
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
and essentially when i restart the bot it looses its count
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
this is what is being done now
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
client.on('messageCreate', (message) => {
if (message.content == 'word') {
countWord++ == countWord;
message.reply(`I have detected the word 'hello' by ${message.author.tag} this user has said this ${countWord} times.`);
}
});
client.on('messageCreate', (message) => {
if (message.content == 'word') {
countWord++ == countWord;
message.reply(`I have detected the word 'hello' by ${message.author.tag} this user has said this ${countWord} times.`);
}
});
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
nothing to complex
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
I want to use something lite and easy to setup
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
see i wanted it so when the bot saw the word "example" it would reply saying "this user has said 'example' 4 times" or something
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
Okay I will look into it now and see
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
just messing around
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
its for a small scale thing
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/12/2023 in #djs-questions
JSON File Counter
but i am using it for a bot through discord.js
47 replies
DIAdiscord.js - Imagine a bot
Created by Nixx on 8/1/2023 in #djs-questions
Discord.js Visual Studio Code Extensions
Thank you, is there any other js extensions i should be aware of before diving in?
3 replies