How to make a Discord Bot | Tutorial 2 (prune,roles,embeds)

preview_player
Показать описание
Thanks for watching and leave a like and subscribe to my channel for more videos!

Рекомендации по теме
Комментарии
Автор

Sorry If this tutorial not so Good, I am curently sick so Thats Why!

izzymichiel
Автор

You are literally the best explainer. I cant describe how frustating these annoying other people are when they try to explain this, you explain it perfectly and everything has worked so far.. THANK you.

ctu
Автор

For all you guys coding this in v12 heres the code for the test command: + "test")){
let author = message.author;
let role = => r.name === "Mod");

itzyaboijoey
Автор

Dude, you are the best! You make is so easy to understand!

JustHyoJoJo
Автор

If you’re getting an test command error change “(author.roles.has(role.id))” to

EpicXdOwO
Автор

apparently message.guild.roles.find isnt a function?

simpletheatheist
Автор

PLS HLP MY I HAVE A ERROR


let role = message.guild.roles.find('name', "Supporter")

itsolixr
Автор

pls help i have a error

Cannot read property 'find' of undefined

itsolixr
Автор

SyntaxError: missing ) after argument list
 at wrapSafe
 at Module._compile
 at Object.Module._extensions..js
 at Module.load
 at Function.Module._load
 at [as runMain]
 at

it says this how do i fix it

icychillzz
Автор

Hey @IzzyMichiel the message.guild.roles.find is not a function i changed it to but it also says not a function

kryhxlic
Автор

ReferenceError: message is not defined
at Object.<anonymous>
at Module._compile
at Object.Module._extensions..js
at Module.load
at tryModuleLoad
at Function.Module._load
at Function.Module.runMain
at startup
at bootstrapNodeJSCore

.

if +"prune")){
^




Help please.

breakiedeakie
Автор

This tutorial was pretty useful, and I now have my own working bot!
However, the one thing that really confused me for a while is the fact that on line 10 of the example there is a "!" in the code. I thought since you were using the prefix "!" for the bot, that I was supposed to replace that with my prefix. (I have no coding knowledge lmao) I eventually figured it out, but maybe you should explain that it has to stay an exclamation point...
Overall I enjoyed the video and learned a lot about coding and discord bots :D

henrythrasher
Автор

For the role thing it say message.guild.role.find is not a function PLEASE HELP

vxguesgaming
Автор

message.guild.roles.find is not a function. How do I fix this?

kanoxzc
Автор

Not working, I stopped creating this bot, not this time....

brtolinek
Автор

TypeError: message.guild.roles.find is not a function


Help me
I got this problem can't solve it

mogman
Автор

the prune command did not work and i copied the exact thing you have said?

monsoon_c
Автор

can you help me? whenever I type node . it says
description: "Done, i deleted " + args[0] + " messages"


Nekonesse
Автор

How can i add translation option to the bot?

arsenic
Автор

how to resolve a error tryinf to type "node ." and it comes up with a long error in ur cmd

jamiekearns
join shbcf.ru