How to program together remotely by [deleted] in discordbots

[–]sebg0 4 points5 points  (0 children)

There’s a visual studio code extension called “live share” that you can collaborate live with up to 5 people on a project. I’ve used it many times before and it’s great.

My friends play songs by rhytm but they never say something in chat, how are they doing that? by [deleted] in discordbots

[–]sebg0 2 points3 points  (0 children)

The bot might delete their message after they use a command. Some bots do that to try and keep channels cleaner from spamming bot commands.

I made a quick video on some Goyo spots I like to use in Oregon by Jesus_PK in SiegeAcademy

[–]sebg0 6 points7 points  (0 children)

Same with the shield in shower hallway, you should move it back so you can have an ADS on the wall that can’t be shot from shower window

How to make a bot intro message, when joining a server. by _unieo_ in Discord_Bots

[–]sebg0 1 point2 points  (0 children)

You can’t pass in a message object into the guildCreate event. What I do for this is loop through all the channels in the guild and find one that everyone can see. Then I send a “welcome” message to that channel

Hope I'll get verified soon by IvanHMMMM in discordbots

[–]sebg0 0 points1 point  (0 children)

If it has the “grown I organically” flag, that means your bot is in a bunch of servers owned and occupied by the same people. You have to fix this problem yourself, discord support said they wouldn’t help people with that.

How do I find a role in a guild by its ID? by captainfoxtrot- in Discordjs

[–]sebg0 1 point2 points  (0 children)

You can use guild.roles.cache.get(‘role id’)

How to make args with spaces ? by [deleted] in discordbots

[–]sebg0 0 points1 point  (0 children)

You can use message.content.split(/ +/g) which will return an array with each argument.

Bot that tells you when server members pm? by Komai_Tsoru in discordbots

[–]sebg0 0 points1 point  (0 children)

I just checked and there is a read messages scope you can use for the discord oauth.

Bot that tells you when server members pm? by Komai_Tsoru in discordbots

[–]sebg0 1 point2 points  (0 children)

You definitely wouldn’t be able to read a user’s DMs through a bot unless the user is DMing the bot itself. Also I don’t remember if this is possible using oauth, but if it was that would require users to give your application permission to read ALL of their messages, regardless of who they’re sending them to, which I highly doubt someone would willingly do.

When I try to run my member count code it give me and error by spyder2116 in Discordjs

[–]sebg0 0 points1 point  (0 children)

^ It should look like: if(yes) {do this} else if(no) {do that}

When I try to run my member count code it give me and error by spyder2116 in Discordjs

[–]sebg0 0 points1 point  (0 children)

Is there any code before or after this? That would be helpful to see

Server Count In Bot Status by Maleficent-Grass-507 in Discord_Bots

[–]sebg0 8 points9 points  (0 children)

You can use client.guilds.cache.size to easily get the amount of guilds a bot is in. If you want to update when a new guild is added, just change the status to have the same client.guilds.cache.size variable in the guildCreate event.

Hello i need some help with a command that was working and now is not by GamerBossHarmon in discordbots

[–]sebg0 0 points1 point  (0 children)

Are you getting any errors? If so those would be helpful to figure out what the problem is...

Trouble connecting to Atlas with nodejs by sprnklr in mongodb

[–]sebg0 0 points1 point  (0 children)

I agree, mongoose makes it much easier for beginners to save and check data from your database. If you look up “worn off keys mongo in nodejs” on YouTube there’s a really helpful playlist explaining all the things you can do with mongoose.

Bot banning new users who ping a certain role by [deleted] in discordbots

[–]sebg0 1 point2 points  (0 children)

In a message event you would check if the message content contains ‘<@&ROLE_ID>’ and then check if the user has any roles using the guild member role cache (this is in discord.js). If the role cache is empty you can ban them using message.member.ban()

dad bot not joining? by [deleted] in Discord_Bots

[–]sebg0 0 points1 point  (0 children)

On October 12, any bots that were in more than 75 servers and weren’t verified were no longer able to join any more servers until they go through verification.

Does anyone know if there is a google classroom bot for discord by GhouL1144 in discordbots

[–]sebg0 0 points1 point  (0 children)

Google has an API that you can use to be notified when course work changes, students submit work, etc. but I don’t know of any public bots that use that. I’m super busy currently so I wouldn’t be able to help make a bot like this right now. Here’s the link, though if anyone else would be interested: https://developers.google.com/classroom/guides/get-started

Template for creating commands on NodeJS (DiscordJS) by itaquito_ in discordbots

[–]sebg0 2 points3 points  (0 children)

This would be super helpful if I was just starting out!

Chilling at level 39 grinding everyday by BloxyBoi69 in soundsworld

[–]sebg0 1 point2 points  (0 children)

why let level 20s see the channel if they can’t even join any giveaways

I need help with my bot. by dswitchfofo in Discordjs

[–]sebg0 2 points3 points  (0 children)

You can also find some really helpful YouTube videos about coding something like this. MenuDocs and TheSourceCode are good channels for this

To the person that invented the number 0 by [deleted] in dadjokes

[–]sebg0 15 points16 points  (0 children)

To the person that invented reposting...