Hello guys you can set your bot's status from playing to listening or etc... Then by typing client.on("ready", () => { client.user.setActivity("YOUR STATUS", { type: "LISTENING" })
help help! during on this, my bot came offline and I tried figuring what went wrong, it kept saying unexpected token D: Do you know how to fix on this?
I have a problem though, after fully putting the nameme command, the "});" that makes my bot come online is red, and my bot goes offline when it is red, do you know how to fix this?
part 3 come on man we need more commands and cool things bc this video is beautiful and i love your vids we need music command a command that stops you from cussing and a moderate command we need you to make it come alive!
wdym advanced embeding? u can just add a field after the main desc like this: .addField("Field Title", "Field Desc") btw no need to thank me if it works
This tutorial is great, but to test commands, my bot all of sudden goes offline and I can't test it... Could you help me if I join your discord server?
ReferenceError: message is not defined at /home/runner/uwu-bot/index.js:53:1 at Script.runInContext (vm.js:130:18) at Object. (/run_dir/interp.js:209:20) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 what in gods name is this
Erm I had a problem and went to your discord server but no, I didn't get any answers haha. If I wanted to code a second command right after the first command without coding Embed, how would I do it?
Hey! So I made a ban and kick command, and I want the option to add a reason for the ban. So I can do !ban (@User) (reason) How would I do this? Edit: I have another question: How can I add an icon (image) to my embed. I want it to be the server icon. Edit 2: I figured it out, I used .setThumbnail then put a link. (I copied the link of the image after sending it in discord)
heyy dude your tutorials are great. if you dont mind me asking can you make a like interactive story bot script sorta? so like example: *insert something here* *option 1* *option 2* *option 3* and if you say one of the options itll trigger the bot to respond with the outcome of the option? hard to explain but i hope you get what im saying edit: maybe if thats too complicated you can show how to do it with reactions?
STEPS TO MAKING YOUR BOT ONLINE 24/7 1st step Go to glitch.com and press show on the top left hand side and press In a new window Now you are going to copie that URL second step In your browser put this website in script.google.com/home/start Now that you have that you may need to sign up if you haven't already. After doing that you are going to press New Project on the left corner. Third step When you have made a new project you are going to see 2 to 3 line of code delete it and put this code in: function trigger() { var url = [ "YOUR URL", "YOUR URL", "YOUR URL" ]; for (var x = 0; x < url.length; x++) { var uri = url[x]; try { UrlFetchApp.fetch(uri); } catch (err) { Logger.log(err.message) } } } Now that you have that replace the 3 YOUR URL and past the URL from glitch. If got stuck here go back to the first step to get the URL back. If you have all of that in, now press that arow looking botton and type in a project name whatever you want to call it. Forth step Next what you are going to do is press that clock right next the the arow. What that is going to do is take you to another tabe. What your going to do on the next tab is press add trigger on the bottom right hand side. It will bring up a little dashbord looking thing and all your going to do is change the Select type of time based trigger to Minutes timer I do recommend you set the Failure notification settings to Notify me immediately and press save. Fifth step Next, a dashboard will apper. Now you can close glitch and the tabe AND YOUR BOT WILL STAY ONLINE 24/7 :) If you have any trouble with this please dm Lime#7820
Your tutorials really helped me a lot in building my discord project. Literally the only best tutorials that worked seamlessly. Keep up the good work 👍 and teach us something new that we don't know yet 🙂
man, im just here to say that im here supporting you. BRO YOU ARE ONE DAY GONNA BLAST ON RUclips CAREER BY MAKING THESE . Anyways... REMEMBER ME. DONT FORGET
I have a problem though, after fully putting the nameme command, the "});" that makes my bot come online is red, and my bot goes offline when it is red, do you know how to fix this?
on nameme command, you might have to put this code above the the if(message.content === "nameme") { line if(message.author.bot) return; or else your gonna end up with your bot sending you the response over and over again (it happened with me)
I have a problem though, after fully putting the nameme command, the "});" that makes my bot come online is red, and my bot goes offline when it is red, do you know how to fix this?
thanx bro I was waiting for this... just don't take a month for part three! and why don't you just post all the coding in the description so people can just copy-paste it in glitch it will be way easier pls reply...
This didn’t work for me, only the first episode (I loved that one). Specifically the kick command. When I type in the “kick code” into mine, my bot stops responding to my .ping or .kick (“.” Is my prefix) command. Then when I take away the kick code and refresh the code, a few minutes later my bot is online a responding to my .ping
Follow these steps to find your Server ID: In Discord, open your User Settings by clicking the Settings Cog next to your user name on the bottom. Go to Appearance and enable Developer Mode under the Advanced section, then close User Settings. Open your Discord server, right-click on the server name, then select Copy ID.
I made a game called Ban Royale. I needed a bot for that. Your videos teached me how to make that and now me and my friends can play that Discord game! :)
Thanks for the video! In part three, could you include how to make a bot automatically react to a message? Thank you! Edit: also, is there any way to make the status of your bot say something other then "Playing [insert status]", like some bots have the status "Watching [insert status"
message.react("unicode emojis or emoji id"), client.user.setPresence({ activity: { name: "the thing you want it to be watching", type: "WATCHING" }, status: "the status"})
keep getting some parser error whenever I do the embed part. This is my code } if (message.content === "embed") { let embed = new Discord.MessageEmbed() .setTitle("This is Embed description") .setDescription("This is Embed description") .setColor("RANDOM") .setFooter("This is Embed Footer"); message.channel.send(embed); } It looks literally exactly like the video I think glitch is high on weed
hey all of it works instead of the send image. it sends nothing. any corrections? if(message.content === "MY COMMAND FOR A IMAGE") { let image = new Discord.MessageAttachment("THIS IS A IMAGE") message.channel.send(image)
Hello, I not sure why but the kick command is not working. I did everything in the video but still not working. Here's the code if(message.content.startsWith("?kick")) { if(message.member.hasPermission("KICK_MEMBERS")) { let member = message.mentions.members.first() if(!member) message.channel.send("Please mention someone") else { message.kick().then(mem => { message.channel.send(Kicked ${mem.user.username}!) }) } } else { message.reply("You don't have permission to that") } }
hey! my bot is acting up, it was online for like 30 minutes and went offline, i tired the status thing and typed in "online" and tired other things like idle but it didnt work, so i need help....
good video but i have to ask a doubt but unfortunately i got banned cus my account got hacked and someone started typing something in the channel hope i get unbanned (Hacker boi 69#8267)
Hey,can you make a new part to teach us how to customize Welcome message..? Like a embed message(with random color,footer etc.)..maybe with server logo on the right side.
I've seen over 20+ discord bot tutorials, so far this is the only one that works, thanks!
You're welcome
@@ImagineGamingPlay i dont usually comment but your tutorials help alot ;)
same
@@ImagineGamingPlay part 3 pleaase
@@ImagineGamingPlay copy and paste pls
part 3,4,5,6,7,8,9,10????!!!!!!!?!!ILL PAY YOU MY KIDNEY PLEASEEE
yees pls :D
bruh only kidney? bruh im gonna sell my brain and also my p----
broooooooo
@@SergamingPlayz Wtf u crazy
@@maneuvermanta6226 its a joke
can u please put the commands in the description? it is hard to write down lol
you can not put },] in description
It's actually a good finger memory exercise
@@timelymatters Then in comments
Hello guys you can set your bot's status from playing to listening or etc... Then by typing client.on("ready", () => {
client.user.setActivity("YOUR STATUS", { type: "LISTENING" })
you are a lengend
Make part 3 with a moderations system like deleting messages and warning commands and if it is possible a music command!
Just download a mee6 bot to do that.
@@WeAreComrades but it would be cool to have your own
@@WeAreComrades Does someone remember human moderation?
Join His Discord Server
@@SamrudhSwaminathan i did
help help! during on this, my bot came offline and I tried figuring what went wrong, it kept saying unexpected token D:
Do you know how to fix on this?
join his discord server he will fix it
Can u paste the code for letting ur bot be online, when i try it wont happen, it ll be offline only, ig m doing some mistks
Wow.. the first person who isn't complicated! I created a bot easily!
I have a problem though, after fully putting the nameme command, the "});" that makes my bot come online is red, and my bot goes offline when it is red, do you know how to fix this?
Same
Same
can you send the full script cause i keep messing up on the kick command and idk what to do
Out of all the channels I have explored amking this stuff you are by far the best. Thanks for making it clear.
part 3 come on man we need more commands and cool things bc this video is beautiful and i love your vids we need music command a command that stops you from cussing and a moderate command we need you to make it come alive!
love the vid! can you make a part 3 with advanced embeding
wdym advanced embeding? u can just add a field after the main desc like this:
.addField("Field Title", "Field Desc")
btw no need to thank me if it works
This tutorial is great, but to test commands, my bot all of sudden goes offline and I can't test it... Could you help me if I join your discord server?
well now THAT is helpful. Please make a part 3
ReferenceError: message is not defined
at /home/runner/uwu-bot/index.js:53:1
at Script.runInContext (vm.js:130:18)
at Object. (/run_dir/interp.js:209:20)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
what in gods name is this
the if statement is not in the message listener
@@ImagineGamingPlay so how do you make it the message listener
this video has taught me how to code better than my robotics teacher. thank you for the impressive tutorial!
April 2021 Update, Help!!
It No Longer Detects the "message" command, it says "Message is undefined" wish if you help
You use "message" not "Message"
@@ImagineGamingPlay well actually im banned in your discord so thats why i cannot send Screenshot of what is happening
it still doesnt detect the command message nor Message
Erm I had a problem and went to your discord server but no, I didn't get any answers haha.
If I wanted to code a second command right after the first command without coding Embed, how would I do it?
whats your tag
@SauceError
@@noteneeded1712 i pinged but yer never replied
@@ImagineGamingPlay You pinged? How come I don't see it :(
But it's fine I just added in the Embed code and it worked out fine. Thank you anyways
How would I make the bot reply with an embed instead of a message in the kick command?
Hey dude it says "message isnt defined " i joined your dc server and asked it but no one answered to me can you please help
What is your code
Hey I have question pls reply :)
If they use command ?sendimage again so can it send another images like @dank memer's pls meme
someone hacked my server :(. Im really sad that this happened. Not to be trusted!
TYSM DUDE, UR SO UNDERRATED AND HELPFUL NO CAP
ur also really funny too
I need help when i do the status part it dosent show as status and bot goes offline :( can anyone help???
Also you just can do:
if(message.content === "test")
message.channel.send("image url")
Is there a way to randomize what image it sends??
pls help me after the welcoming the bot spams the members it doesnt say welcome only once
Is there a way to set bot as “listening to music”?
client.once('ready', () => { client.user.setActivity('Type Status Here', { type: "LISTENING" }); });
@@Pray2Jesus. thanks
When I try to do the kill command it says ‘message’ is not defined
Please part 3 plsssssssssssssss ill do anything!!!
also is there a way to do an mute command ?
there is a part 3..
@TauYT12 ik just in case he didnt know
Hey! So I made a ban and kick command, and I want the option to add a reason for the ban. So I can do !ban (@User) (reason) How would I do this?
Edit: I have another question: How can I add an icon (image) to my embed. I want it to be the server icon.
Edit 2: I figured it out, I used .setThumbnail then put a link. (I copied the link of the image after sending it in discord)
heyy dude your tutorials are great. if you dont mind me asking can you make a like interactive story bot script sorta? so like
example:
*insert something here*
*option 1*
*option 2*
*option 3*
and if you say one of the options itll trigger the bot to respond with the outcome of the option? hard to explain but i hope you get what im saying
edit: maybe if thats too complicated you can show how to do it with reactions?
bro can u pls tell how to make money bot like unbelivaboat pls
Can you do a tutorial on how to make the bot not go invisible when you close server.js tab in your browser?
STEPS TO MAKING YOUR BOT ONLINE 24/7
1st step
Go to glitch.com and press show on the top left hand side and press In a new window
Now you are going to copie that URL
second step
In your browser put this website in script.google.com/home/start
Now that you have that you may need to sign up if you haven't already.
After doing that you are going to press New Project on the left corner.
Third step
When you have made a new project you are going to see 2 to 3 line of code
delete it and put this code in:
function trigger() {
var url = [
"YOUR URL",
"YOUR URL",
"YOUR URL"
];
for (var x = 0; x < url.length; x++) {
var uri = url[x];
try {
UrlFetchApp.fetch(uri);
} catch (err) {
Logger.log(err.message)
}
}
}
Now that you have that replace the 3 YOUR URL and past the URL from
glitch. If got stuck here go back to the first step to get the URL back.
If you have all of that in, now press that arow looking botton and
type in a project name whatever you want to call it.
Forth step
Next what you are going to do is press that clock right next the the arow.
What that is going to do is take you to another tabe. What your going to do
on the next tab is press add trigger on the bottom right hand side.
It will bring up a little dashbord looking thing and all your going to do
is change the Select type of time based trigger to Minutes timer
I do recommend you set the Failure notification settings to Notify me
immediately and press save.
Fifth step
Next, a dashboard will apper. Now you can close glitch and the tabe AND YOUR
BOT WILL STAY ONLINE 24/7 :)
If you have any trouble with this please dm Lime#7820
@@itsmeyannickz5891 Wow, thank you for the detailed reply!
you need a hosting service i use falix nodes it gives a lot of uptime :)
@@itsmeyannickz5891 Eh ya got that from lime
Your tutorials really helped me a lot in building my discord project. Literally the only best tutorials that worked seamlessly. Keep up the good work 👍 and teach us something new that we don't know yet 🙂
Wait-
Can this be public so other ppl can add it to their servers?
How do you make a command where it randomly slecets a image instead of just 1?
man, im just here to say that im here supporting you. BRO YOU ARE ONE DAY GONNA BLAST ON RUclips CAREER BY MAKING THESE . Anyways... REMEMBER ME. DONT FORGET
Oki doki
@@ImagineGamingPlay Remeber me when your famous......
I have a problem though, after fully putting the nameme command, the "});" that makes my bot come online is red, and my bot goes offline when it is red, do you know how to fix this?
join hes discord server
@@Icey0001 Ok
=
@@sword9935 they can help you
in part 3 add like a quiz, where questions and you answer and the answers save if you get me and its like 10 questions
thank you so much, this has been so helpful, this is like the only one that could actually help me, tysm
thank you
its the best tutorial in the world :D
In a future video could you perhaps make a text-based game with a Discord Bot?
@Paul Collin Not necessarily, but like a bot that does something if you react to it in a certain way (i.e. reacting with thumbs up)
My bot went offline when I added status what do I do
Bro *KICK* and *KILL* aren't working please help!
join my server for help
@@ImagineGamingPlay ok my name is *deleted-user* I changed my name to this name to troll my friends you should know its me ok bro! keep it up
on nameme command, you might have to put this code above the the if(message.content === "nameme") {
line
if(message.author.bot) return;
or else your gonna end up with your bot sending you the response over and over again (it happened with me)
I have a problem though, after fully putting the nameme command, the "});" that makes my bot come online is red, and my bot goes offline when it is red, do you know how to fix this?
thanx bro I was waiting for this... just don't take a month for part three! and why don't you just post all the coding in the description so people can just copy-paste it in glitch it will be way easier pls reply...
because you need to learn the code yourself, you cant always rely on others
@@karoshi3483 ok
@@karoshi3483 so true
it is so you can learn to do it yourself, if you want it copy and pasted just say the spesific parts and I can help
@@jaxelone4092 yes it would be lovely! thnx
Bro when i use nameme it says undefined is your new name
This is my first discord bot video I can listen to other idk what they say lol and btw make part 3 and you got yourself a new sub
is it possible to somehow make bots respond to commands by people with SPECIFIC roles?
Pls make a tutorial how to make economy
This didn’t work for me, only the first episode (I loved that one). Specifically the kick command. When I type in the “kick code” into mine, my bot stops responding to my .ping or .kick (“.” Is my prefix) command. Then when I take away the kick code and refresh the code, a few minutes later my bot is online a responding to my .ping
the kick command is not working :(
Can you put a tutorial on how to make a random message or currency system w/ shop for your bot?
he did make a random message one and its in THIS video
@@nuteater7258 A color on an embed changing isn't a random message though. It's still the same message with only the color changing
@@DaLazyRat watch 2:38
@@isdhvhjbiusd8vuiaholvfyadv67 Ah okay. Thanks for the timestap.
im distracted from undertale
thank you so much i watched so much videos of how to make a discord bot but i failed on all of them but i didn't fail on this thanks so much
Follow these steps to find your Server ID:
In Discord, open your User Settings by clicking the Settings Cog next to your user name on the bottom.
Go to Appearance and enable Developer Mode under the Advanced section, then close User Settings.
Open your Discord server, right-click on the server name, then select Copy ID.
omg thank youuuuuu i was wondering how the heck do i get ID's
I made a game called Ban Royale. I needed a bot for that. Your videos teached me how to make that and now me and my friends can play that Discord game! :)
how do i make a multi command ? (say a command, prompts you with something like a question, answer one and a message pops out)
Thanks for the video! In part three, could you include how to make a bot automatically react to a message? Thank you!
Edit: also, is there any way to make the status of your bot say something other then "Playing [insert status]", like some bots have the status "Watching [insert status"
message.react("unicode emojis or emoji id"), client.user.setPresence({ activity: { name: "the thing you want it to be watching", type: "WATCHING" }, status: "the status"})
thanks so much for these videos. I subscribed! you've helped a lot and I'm now starting to try to learn to code since it's this fun :D
Best channel for bot tutorials
so anime is cringe.
please make part 3 with ban commands warning commands, music commands, linked buttons etc :D
You help me so much, Part 3???? We need Part 3 lul
keep getting some parser error whenever I do the embed part.
This is my code
}
if (message.content === "embed") {
let embed = new Discord.MessageEmbed()
.setTitle("This is Embed description")
.setDescription("This is Embed description")
.setColor("RANDOM")
.setFooter("This is Embed Footer");
message.channel.send(embed);
}
It looks literally exactly like the video I think glitch is high on weed
How do i add scirpt?
hey all of it works instead of the send image. it sends nothing. any corrections?
if(message.content === "MY COMMAND FOR A IMAGE") {
let image = new Discord.MessageAttachment("THIS IS A IMAGE")
message.channel.send(image)
Thank you so much! You made me lite my ego up because of these scripting!
somehow my bot didn't send image. help
same bro did u fix it?
@@cj79Bob no dude
Can you just give me reply and send whole copy of that in the reply plssss, because I tried but not working 🙏🏻
DUDE YOU ARE A LIFE SAVER THAK YOU SO MUCH
For the embed how do you make different paragraphs? I mean how do you do
this
in
glitch or in repl?
you
HOW TO MAKE PREFIX FOR IT
Just to inform you all, if the status doesn't work, wait for a few minutes and if it doesnt work then redo it
Bro i joined your server and no ones helping me. If you could tell me your discord so i can contact with you i've got a serious problem on my code
what is your tag?
@@ImagineGamingPlay its CoolLeoGamingGR#2221. I already dmed you, i think but you need to help me
underrated omg
there was no point in saying the s word...
Hello, I not sure why but the kick command is not working. I did everything in the video but still not working. Here's the code
if(message.content.startsWith("?kick")) {
if(message.member.hasPermission("KICK_MEMBERS")) {
let member = message.mentions.members.first()
if(!member) message.channel.send("Please mention someone")
else {
message.kick().then(mem => {
message.channel.send(Kicked ${mem.user.username}!)
})
}
} else {
message.reply("You don't have permission to that")
}
}
How to make the type to watching.
Example, Playing RUclips to Watching RUclips?
whenever i put "let" it gets the red dot and won't go away. (annoying)
anyways to fix this?
How is there only 1.3k likes? This deserves 100k at least
Thank you
hey! my bot is acting up, it was online for like 30 minutes and went offline, i tired the status thing and typed in "online" and tired other things like idle but it didnt work, so i need help....
the status doesnt show
good video but i have to ask a doubt but unfortunately i got banned cus my account got hacked and someone started typing something in the channel hope i get unbanned (Hacker boi 69#8267)
Hey,can you make a new part to teach us how to customize Welcome message..? Like a embed message(with random color,footer etc.)..maybe with server logo on the right side.
One question how to invite bot to my server
Watch the first video of this series
When I try setting the status to dnd, it’s still invisible.
all caps?
it takes a while to change
when i make the nickname command it says that ive done something wrong idk why :/
Thankyou so much you inspired me to make a whole moderation bot please keep making these.
To under rated fr
welcome wont work
Excuse me, I hope you really don't mint but could you do an auto dm reply bot video perhaps? If it really doesn't take that much of your time.
dude this channels underatted!!,BTW can u create part 3 for moderation and reaction role of the server pls
but the status don't work :(
edit it also worked, cos i got helped from ur discord server
Noice vid, could u pls copy the code of it for me and send it as a reply if u dont mind, Thanks!
This vid has Papyrus music. lol
Edit: This vid just has Undertale music...
So when the status , "playing" it will show and then disappear within 10 mins , why is this?