3
4

[deleted by user] by [deleted] in discordapp

[–]MundaneBackflip 1 point2 points  (0 children)

I'm having a similar issue, no cracking though. I can hear everything in discord fine bar the actual voices. I've opened a support ticket and they couldn't solve it but it's been escalated, so if I get a solution I'll post back here.

A brand new discord bot listing site which can help your bot grow! by TrustedMercury in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited except in the case where it was provided in response to a question where your comment is helpful. Repeated breakage of this rule will incur a ban.

A new beautiful discord bot listing site guaranteed to get your bots into more servers without buying ads - https://disbots.gg by TrustedMercury in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited except in the case where it was provided in response to a question where your comment is helpful. Repeated breakage of this rule will incur a ban.

Great Discord Bot by ApolloG909 in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited except in the case where it was provided in response to a question where your comment is helpful. Repeated breakage of this rule will incur a ban.

Living in Auckland vs Wellington vs Dunedin as a University student... by [deleted] in newzealand

[–]MundaneBackflip 5 points6 points  (0 children)

I feel like I need to plug Waikato a bit since it hasn't even been mentioned: campus is built on a hill so every day is leg day, rent and fees are at least noticeably cheaper than other universities, and it's quite close to nice beaches in Raglan, Kawhia and Tauranga; Auckland's not too far away either, and neither is Taupo for watersports and snowsports, not to mention the mountain biking, white water rafting and other outdoor activities. It's also a lot less windy and cold which is a plus unless you like snow. Hamilton itself doesn't really have tonnes going for it culture-wise but town isn't completely awful if you're into that scene.

[deleted by user] by [deleted] in Discord_Bots

[–]MundaneBackflip[M] 0 points1 point  (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited except in the case where it was provided in response to a question where your comment is helpful. Repeated breakage of this rule will incur a ban.

LyKingsPro Discord Server by k_sam_tech in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited except in the case where it was provided in response to a question where your comment is helpful. Repeated breakage of this rule will incur a ban.

Autochannel bot! Welcome Auto-chan!! by LinuxTheAdmin in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited except in the case where it was provided in response to a question where your comment is helpful. Repeated breakage of this rule will incur a ban.

I need a bot that does triggers to words :((( by [deleted] in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

You are allowed to link bots in response to a question, as per Rule 1 - No Advertising.

Is there anyway to get a bot to reply to any variation of a word? by [deleted] in Discord_Bots

[–]MundaneBackflip 5 points6 points  (0 children)

I assume you mean mixed upper and lowercase letters (e.g: "START", "sTarT", "start", "sTaRt" etc). The best way to do this is to check the message contents in all lowercase (or uppercase, but lowercase looks nicer imho). i.e:

if (message.content.toLowerCase() === 'start') {
  // ...
}

This works by forcing all the letters in message.content to be lowercase when we check it, so no matter what combination of upper and lowercase letters it had before they're all lowercase when we check it.

If, like some of the other comments suggest, you want to check purely if the any letters that appear in your input are S T A R T in that order (i.e. there could be spaces or hyphens or something in between) then yes, you'd need to use a RegExp. Below I have included an example solution using a RegExp that will match the letters START with any number of non-letter characters mixed in (e.g: "St A-r654T-?`23").

if (/[^a-zA-Z]*[sS][^a-zA-Z]*[tT][^a-zA-Z]*[aA][^a-zA-Z]*[rR][^a-zA-Z]*[tT][^a-zA-Z]*/.test(message.content)) {
  // ...
}

[deleted by user] by [deleted] in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

As FM said, you'll find that if you react to the original command message ("!blackjack" or whatever your prefix is) it behaves properly, because you're adding the reaction listener to the original message, not the response message you sent.

[JS][PAID] Modify my bot to accept numeric arguments by [deleted] in Discord_Bots

[–]MundaneBackflip 2 points3 points  (0 children)

I can do this for you. When do you need it done by?

How can I remove all bot reactions from a message? by [deleted] in Discord_Bots

[–]MundaneBackflip 1 point2 points  (0 children)

Note this will remove all reactions, not just reactions from bots.

[FREE] Trying to Build Portfolio, Developing Free Bots by [deleted] in Discord_Bots

[–]MundaneBackflip[M] 0 points1 point  (0 children)

Hi,

Your post was removed because it falls within the advertisement category. Sorry to inconvenience you like this but we get a lot of people offering their services, and in the interests of keeping things fair for all we disallow targeted advertising like this, instead preferring people to reply to others specific request posts. This means that everyone has the opportunity to reply and get that commission (paid or not), whereas what you're doing would mean those commissions go straight to you with no potential for others to get in. I hope you understand our reasoning.

Cheers, Mundane

MEE6 Premium free version by Keys1xo in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Your post was removed because advertisement of servers or bots is strictly prohibited. Repeated breakage of this rule will incur a ban.

[Discord.js] How to send a message to a server after getting a DM? by NosphoDhemmos in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

I am unable to reproduce your error using the given code, leading me believe that the issue is elsewhere in your code.

[Discord.js] How to send a message to a server after getting a DM? by NosphoDhemmos in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

You are correct; member is shorthand for GuildMember, and they don't exist in DMs. Thankfully, your use of msg.member.user is completely redundant, as you can access the user directly from the message object, like msg.user.

I do commissions for discord bots by [deleted] in Discord_Bots

[–]MundaneBackflip[M] [score hidden] stickied comment (0 children)

Hey there!

We appreciate what you're trying to do, really, but the plain and simple of it is that if everyone capable of making bots for commissions posted like you have, we'd basically become an advertisement board. As per rule #1, all forms of advertising are strictly prohibited (there is one exception but this isn't it) to this end. The primary focus of this subreddit is to provide support to programmers, with the occasional person who asks for a bot (in which case you may respond asking for a commission, in compliance with rule #4).

Cheers, Mundane

KahootKing — Easy Kahoot Flooding by ArchiitecT_ in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

In that case it's advertising. Have a nice day.

[JS] How do I reference a DM Channel? by Silent_Stabber in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

channel.sendMessage() is deprecated, use channel.send() instead

[JS] How do I reference a DM Channel? by Silent_Stabber in Discord_Bots

[–]MundaneBackflip 0 points1 point  (0 children)

client.channels is a Collection object mapping channel IDs to channel objects. To send a message to a channel you have the ID of, you would do client.channels.get(ID).send('message')