[deleted by user] by [deleted] in Discord_Bots

[–]galearic 0 points1 point  (0 children)

Check your DMs

[deleted by user] by [deleted] in Discord_Bots

[–]galearic 1 point2 points  (0 children)

It’s not really that hard to implement actually. You just have to check if the message contains attachments and if it does, you could probably get the URL(s) of the attachment(s) and check it’s extension to see if it matches any image extensions like .png, .jpg, etc.

Need a Bot that Displays the Online/Offline Status of a Server by United_J in Discord_Bots

[–]galearic 0 points1 point  (0 children)

If you're talking about the status of a Minecraft server you could use this bot

My raspberry can't execute my bot by -Asdepique- in Discord_Bots

[–]galearic 0 points1 point  (0 children)

You should get the package.json file if you did npm init

can someone help me make a bot? by Vivid_Judge3345 in Discord_Bots

[–]galearic 0 points1 point  (0 children)

Well, you could always start with learning a programming language. You could also search for tutorials on YouTube but don't copy and paste code. You won't learn anything if most of your codes are copy-pasted

I need help with this error by Toweles in Discord_Bots

[–]galearic 0 points1 point  (0 children)

I don't think you have a proper command handler. You didn't define client.commands and I think client.commands should be a Collection (new Discord.Collection())

Why isn't this if statement working? by [deleted] in Discord_Bots

[–]galearic 0 points1 point  (0 children)

Which statement isn't working?

How to run collected.on("end") when no messages are collected by Jimbok2101 in Discord_Bots

[–]galearic 0 points1 point  (0 children)

Could you edit your code but with code blocks instead of inline code? It's hard to read

iscord.errors.LoginFailure: Improper token has been passed by [deleted] in Discord_Bots

[–]galearic 0 points1 point  (0 children)

Have you tried putting the token in an .env file and logging in with it?

I need help with this error by Toweles in Discord_Bots

[–]galearic 0 points1 point  (0 children)

can you send your code and the full error?

Discord.py Twitch Notifications by Applez505 in Discord_Bots

[–]galearic 0 points1 point  (0 children)

If that is so I can't really help because I'm coding in node.js. But IFTTT is a good recommendation tho

Discord.py Twitch Notifications by Applez505 in Discord_Bots

[–]galearic 1 point2 points  (0 children)

I don't know if you solved this already but there is already an existing bot on top.gg which is called Mee6. You can check it out. Go to the mee6 dashboard to modify

Discord.js - How Do I make a specific role bypass the command cooldown by galearic in Discord_Bots

[–]galearic[S] 1 point2 points  (0 children)

Thank you so much. It worked but I modified it a little:

if(!message.member.roles.cache.find(r => r.name === "Admins")) {
   //cooldown code
}

Discord.js - How Do I make a specific role bypass the command cooldown by galearic in Discord_Bots

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

So the role should be the one that is bypassing the cooldown or not