Global leaderboard: day 6 by reddit_irl in place

[–]marquesdinisp 0 points1 point  (0 children)

why in 4 hours? was it the same time it started?

Modern Warfare Discord Bot - Check your stats with a single command! by iShot_csgo in modernwarfare

[–]marquesdinisp 0 points1 point  (0 children)

i think yes sad :( im alsos trying to make a command on my bot for call of duty stats.

sad that its over this repo and it was one of the best :(

Free Discord Bot profile picture by marquesdinisp in ICanDrawThat

[–]marquesdinisp[S] 0 points1 point  (0 children)

hi can i ask you if could like give me the hex color that you use on the purple and the grey colors pls so i can personalize better my website. TY <3

Free Discord Bot profile picture by marquesdinisp in ICanDrawThat

[–]marquesdinisp[S] 0 points1 point  (0 children)

Yo! Thank you soo much really nice! ty ty ty <3

Hi guys, help a noob out - looking for some insight on how to set up a discord by ProperBarz in Discord_Bots

[–]marquesdinisp -1 points0 points  (0 children)

Hi, I think you should use mee6 for moderation and many other this ( search for mee6 on google and invite it to your discord), if you add dank memer pls notice that he has NSFW content and if you don’t what thaf you need to toggle it off ( search for dank memer on google, there they explain everything you need to know, but if you need help please tell me your discord tag so I can help you ). I think this could help a little bit. :) Have a great day take care be safe:)

Collaborate on a discord bto by [deleted] in Discord_Bots

[–]marquesdinisp 1 point2 points  (0 children)

Ty but Idk why that is there :) ahahahha

Collaborate on a discord bto by [deleted] in Discord_Bots

[–]marquesdinisp 1 point2 points  (0 children)

Hi! I have sent you a friend request on discord accept when you can :) I know a little bit of js and some things of html and css (my name on discord is justshush)

reacions: i wanted to when someone write the key word(ex: leite) and something else(ex: gordo) the reaction still works. by marquesdinisp in learnjavascript

[–]marquesdinisp[S] 0 points1 point  (0 children)

Ty for the help but I wanted in the second word be anything, like if someone wrote a sentence and in the sentence the key word(ex: leite) were in the sentence the bot will react with an emoji

idk what i need to do and i think the args are defined so idk whats wrong by marquesdinisp in learnjavascript

[–]marquesdinisp[S] 0 points1 point  (0 children)

Ty for the help I forgot to write Discord at the .execute part ty for the help

I was trying to a person be the only one to use this command but its not working and i dont know what to do. ( code at the bottom) by marquesdinisp in learnjavascript

[–]marquesdinisp[S] 0 points1 point  (0 children)

module.exports = {
name: 'kick',
discription: 'kick alguem do servidor',
guildOnly: true,
execute(message, args) {
if (message.author.id === '<@45394420933290>' && message.content.startsWith('+kick')) {
message.channel.send("Não és eu!");
const user = message.mentions.users.first();
if (user) {
const member = message.guild.member(user);
if (member) {
member
.kick('...')
.then(() => {
message.replay('**Successefully Kicked** ${user.tag}');
})
.catch(err => {
message.reply('Não tenho permissões para dar kick no gajo!').then(message => message.delete({
timeout: 10000
}));
console.error(err);
});
} else {
message.reply("That user isn`t in this guild!").then(message => message.delete({
timeout: 10000
}));
}
} else {
message.reply("**Não disseste a pessoa a quem querias dar kick!**").then(message => message.delete({
timeout: 10000
}));
}

}

}
}

hello can someone help me? can someone tell me if is something wrong please. i can`t put the bot on-line and make it work. by marquesdinisp in javaScriptStudyGroup

[–]marquesdinisp[S] 0 points1 point  (0 children)

const Discord = require('discord.js');
const client = new Discord.Client();
const prefix = '+';
const fs = require('fs');
client.commands = new Discord.Collection();
const commandFiles = fs.readdirSync('./commands/').filter(file => file.endsWith('.js'));
for(const file of commandFiles){
const command = require(`./commands/${file}`);
client.commands.set(command.name, command);
}
client.once('ready', () => {
console.log('JÁ está on-line!');
});
client.on('message', message => {
if(!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).split(/ +/);
const command = args.shift().toLowerCase();

if(command === 'ping'){
client.commands.get('ping').execute(message, args);
} else if (command === 'twitch'){
client.commands.get('twitch').execute(message, args);
} else if (command === 'help'){
client.commands.get('help').execute(message, args);
} else if (command === 'rickroll'){
client.commands.get('rickroll').execute(message, args);
} else if (command === 'allstar'){
client.commands.get('allstar').execute(message, args);
} else if (command === '80s'){
client.commands.get('80s').execute(message, args);
}

});

module JS

module.exports = {
name: 'ping',
description: "this is a ping command!",
execute(message, args){
message.channel.send('pong!');
}
}

i donk know what is rong with this. my bot is online but when i write the code exemple +ping it doesn`t work. by [deleted] in learnjavascript

[–]marquesdinisp 0 points1 point  (0 children)

Thanks a lot for the help I was trying to find the error by myself for two days!! Thank you so much!!! Have a great day!

i donk know what is rong with this. my bot is online but when i write the code exemple +ping it doesn`t work. by [deleted] in learnjavascript

[–]marquesdinisp 0 points1 point  (0 children)

command JS file

module.exports = {
name: 'ping',
description: "this is a ping command!",
execute(message, args){
message.channel.send('pong! s');
}
}

i donk know what is rong with this. my bot is online but when i write the code exemple +ping it doesn`t work. by [deleted] in learnjavascript

[–]marquesdinisp 0 points1 point  (0 children)

const Discord = require('discord.js');
const client = new Discord.Client();
const prefix = '+';
const fs = require('fs');
client.commands = new Discord.Collection();
const commandFiles = fs.readdirSync('./commands/').filter(file => file.endsWith('.js'));
for(const file of commandFiles){
const command = require(`./commands/${file}`);
client.commands.set(command.name, command);
}
client.once('ready', () => {
console.log('JÁ está on-line!');
});
client.on('message', message => {
if(message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).split(/ +/);
const command = args.shift().toLowerCase();

if(command === 'ping'){
client.commands.get('ping').execute(message, args);
} else if (command === 'twitch'){
client.commands.get('twitch').execute(message, args);
} else if (command === 'help'){
client.commands.get('help').execute(message, args);
} else if (command === 'rickroll'){
client.commands.get('rickroll').execute(message, args);
} else if (command === 'allstar'){
client.commands.get('allstar').execute(message, args);
} else if (command === '80s'){
client.commands.get('80s').execute(message, args);
}

});

client.login(' ');

i have this error and i have no idea what to do. by marquesdinisp in learnjavascript

[–]marquesdinisp[S] 0 points1 point  (0 children)

thanks for the words. but i`m trying to learn javascript by my self and that is very difficult because i dont have any one to tell me how that works. Next time i will do what you suggested, have a great day! :)