#wants to do a ping command

19 messages · Page 1 of 1 (latest)

flat tartan
#

please help

wheat slateBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

flat tartan
vagrant shell
#

show code

flat tartan
#
console.log('index.js')
const { Client, GatewayIntentBits, MembershipScreeningFieldType } = require('discord.js');
const { token } = require('./config.json');

const client = new Client({
    intents: ["GUILDS", "GUILD_MEMBERS", "GUILD_BANS", "GUILD_EMOJIS_AND_STICKERS", "GUILD_INTEGRATIONS", "GUILD_WEBHOOKS", "GUILD_INVITES", "GUILD_VOICE_STATES", "GUILD_PRESENCES", "GUILD_MESSAGES", "GUILD_MESSAGE_REACTIONS", "GUILD_MESSAGE_TYPING", "DIRECT_MESSAGES", "DIRECT_MESSAGE_REACTIONS", "DIRECT_MESSAGE_TYPING"],
    partials: ["USER", "REACTION", "MESSAGE", "GUILD_SCHEDULED_EVENT", "GUILD_MEMBER", "CHANNEL"]
})
client.once('ready', () => {
    console.log('gotowy!');

    client.user.setActivity("Serwer Polish&Mods", {type: 'LISTENING'});
});

client.on('messageCreate', (msg) => {
    if (msg.content == 'ping') {
        msg.channel.send({content: 'Pong!'})
    }
})












client.login(token);
#

<@&839912195994812420>

brave tusk
#

What needs moderation here exactly?

vagrant shell
#

use the GatewayIntentBits you imported

brave tusk
#

Is it you breaking rule 6?

#

Should I be banning you?

vagrant shell
#

chill lol

flat tartan
blissful basin
#

this is the second time you did this shit in 2 days

brave tusk
#

Nah, sick of rude impatient fucks

blissful basin
#

can you like fucking stop pinging mods

vagrant shell
flat tartan
#

?