your individual Discord Bot - Aliases (2021)what is going on guys Your own Discord Bot - Aliases (2021)Whats going guys your individual



Code Your own Discord Bot - Aliases (2021)
Whats going guys welcome back to. an extra discord.js tutorial in modern day. educational we will be adding. aliases. to our instructions in our discord bots if. you do not know what an alias is. google tells me that it is a false or. assumed identity. what this means is for instance to illustrate. i create a command. that is play which joins a voice. channel and starts playing a command. but for exle i desire to execute this. exact same code. of this command using yet another keyword so. rather than play. i desire to execute this with pl and simply. by doing. this right here its going to nonetheless execute. an analogous. code as play and that is very simple. it is going to be a really short video yet. before i start i do want to present. my discord server a brief shout out it. has been like four days since we. formally released. weve over 1000 contributors already.
Come here when you are. into coding disc or mods it is a. coding neighborhood for discord bots. and likewise we do have a touch chat vicinity a. little lounge vicinity in case you men want to. talk. to the neighborhood so theres going to be. a link in description to this discord. server. come forward join so lets pass forward and. start with the actual. code so like i said very short video. all youre going to need is to visit. your message event if youre new here. make sure to watch. the whole occasion handler video because. we restructured our complete entire task. so lets start right here. in our message occasion weve a const. command and this is the same as client that. commands that gets cmd. were going to edit this and do an or so. or. it is going to be client that instructions. dot find were going to create a. variable i am simply going to name the.
Variable a. with an arrow function a dot aliases. aliases after which and. im correctly going to copy aliases and a. dot aliases. that includes and well flow. in that cmd a different time cmd. is thiis constant up right here that is just. rx that shift that to a lower case. and actually we are very nearly carried out. with the message hobbies. now from here go to all of your reviews. and well create the aliases up. right here. so aliases colon it is going to be a list. and you can begin. typing your aliases so for the mc server. we are gonna have three aliases. one is gonna be mc the next one goes. to be mce. assess and the ultimate one we are just gonna. write out minecraft. and make sure you set out the comma at. the top reserve it. keep every little thing and everything ought to be. strolling first-class lets pass forward and do note. space dot. there we cross its online lets go into.
Our discord server try going for walks. the 1st legit name of the command. which become mc server so mc server. you can find it is going to say please. enter a minecraft ip after which we will. additionally run. mc it will say please input my. sort uh whats the other one thats the. mc. verify and then we also have minecraft. so all of these instructions listed here are. technically walking. exactly the same code which is this. however. you know it is simply it is the aliases its. kind of like the called. um commands here so it technically. all works i can actually do something. like. mcmc.highpixel.net. 5 five six 5 and there we pass. the physique is gonna work. now what if you wanna use these aliases. as something like a side command. so in place of running exactly the same. code perhaps i desire to have. mc here run a different code than.
This yet still have it in an analogous dossier. here. how you do that is come all of the manner. right here well add something down. right here in the execute technique. and we will call it cmd were. clearly passing cmd right here. which is this variable you can upload in. any region right here i am simply going to add it. here in the lads in the middle next. message then come right here into your. command add it in addition what you want to. do is reproduction. all the code and you only desire to move. ahead. and assess for the cmd. so all you do is do if cmd triple equals. . and the first one is often going to be. the particular leading command so. mc server and then move forward and paste in. your code then come all of the manner down. right here and then do the next if so. if cmd triple equals to mc which is the. first alias were simply going to console. that log.
And were going to console the log. asserting this isnt. an mc server and then lets do one ultimate. one. which is if cmd triple equals to. uh minecraft and iits going to say. message.channel thats ship lower back you. guys can type whatsoever you men favor. here. its aactually now not console.log permit me. message that channel. that is ship for you to see it at the. server. and for the minecraft you can say we. love. minecraft so utilizing these three aliases. we are in fact going for walks 3 one-of-a-kind. instructions. in a single command file now technically you. could. do dissimilar commands and its gonna be. no exceptional than the actual command. handler that we had before yet with this. new command handler we are actually. organizing every thing. so you do wanna have your command you. understand documents and every thing organized. its just that in an effort to have a you.
recognize an extra alias with a further. operate. i am simply showing you so lets pass ahead. and run this. and now if we do mc. server thats the 1st command so. please enter your minecraft ip. then if we do mc it is going to say this. is not a minecraft server. this is not a micro server and if we do. minecraft it is going to say yay. minecraft we like minecraft. and thats how you really can run. dissimilar instructions in one command folder. using aliases. quite often you only desire to use. aliases as aliases. yet regularly when you are doing. something like the play and go away. command it is advisable to have them in. an identical. file so you can use exactly the same. matters so im able to use. like the voice channel and preserve. everything prepared so. that is just about it men im hoping you. men enjoyed if you probably did make sure to.


Awful KPOP DISCORD SERVERS
Welcome gamers earlier than we begin this. video i cant pressure this enough this. is a case study this video is under no circumstances. meant to advertise any harassment to. anyone i understand how debatable this may. be I tweeted out Korean pop obtained about. thirty people fighting in my goodddamn. require just like the video I made one. year in the past referred to as awful bushy discord. servers i am trying to infiltrate this. community and notice what its about my god. fairly frankly we see it forever. kpop stands and Twitter reprised. replying with fan cams and that is what. we see at the top of the iceberg but I. wanted going to be and discover what. its aactually desire to be a part of this. community. so please whether you are a kpop stand. or no longer dont go in harass anybody proven. during this video. oh guy Jesus Christ we will begin with. our possess discord account.
My name is mr. kpop scenario 1 I am not. from the kpop community yet Im from. an extra stand community how pleasant good. these persons deal with me ok i am variety of. scared Harry patterns female friend. you seem so dreamy during this photo Im. gonna juice this one. oh yeah batard all God but magnificent Im a. Harry style supporter now time to determine. how these groups will deal with me. knowing Im from a different community. so Im not only gonna join kpop servers. i am additionally gonna become a member of anime servers see. how people from the anime servers would. deal with me you guys ever heard of kpop. Lord overheard or understand whats kpop. kpop Korean pop its a genre I want to. be part of that community ok pay attention. here Harry patterns as someone who got here. from the k12 neighborhood I incredibly suggest. you do not go too deep into the neighborhood. because its a nutrients I believe that is a.
certainly suggest assumption i feel you simply. hate kpop okay hear here bucko. do your self one more fight which you you. wont be able to yourself out i am okay. its aa lot of fourteenyear-old females or. your buddy you know I dont believe i used to be. girlfriends Audi likeness. Oh what is this oh this is all in Korean. I do not know Korean IG is trash period. yg period interval I dont know what that. skill. female friend its the worst welcome. ooh that is on a bot hi i am trying to. convert I have certainly not heard a kpop yet Im. searching for neighbors oh why are they. making fun of me why do you believe it fun. of me Dan twice first. why could I stand two times if I recognize. the first time is there a rule where I. ought to stand someone two times and a. 610 mamamoo dan gee that is a car or truck. firm ive by no means heard their song I. do not know who theyre but what is this.
It all I dont know what the any of. this means ive under no circumstances heard of them. earlier than. does anyone want a role play as BTS. contributors yeah does that a No listen. freeze accredited teethers why cant you. guys who are these people. idols hey what she deleted it perhaps. its time for me to go away you are not. gonna stay right here though on the way to. learn about kpop i think out of contact cuz. I dont take heed to kpop plenty every person. begins someplace can assist you real yes . a big welcome begin from listening to. London oil that is a resource friend start. with one team but what you can begin. with BTS if you wish i am deaf although I. cannot take heed to music what why are they. making exciting of me are you making enjoyable of. me alright Harry patterns is just. knocking throughout the drink how about we. begin with that BTS individuals jimin jhope. suga jungkook jin RM ok jungkook is.
the chosen i have no idea who any of. those are yet i thinkin ago with. jungkook who i discovered a kpop server that. hosts karaoke hello become garyoke with a. karaoke box all right very well lets play a. song Im prepared please play me Jung Kooks. no 1 hit what is that I simply want. to sing a jungkook tune just get me a. well song okay okay Im prepared ask for. money get suggestion. I unfold my funds twice theres a enjoyable. music hello this a lecture room and that i say a. little music good buy junk code like this. okay sorry guys up to ill assist you i do know . my way became gonna be later a few week. in the past well time these are pitbull eaters. they consume mr. international any bald persons. no its the worst things occurred to. me this night now I know how kpop stands. react to other song perhaps a few song. even better than kpop now i understand how. they react it truly is so sad it is time now.
That I have discovered all the secrets. by means of discord and during many her. aisle and blunder are you ready to tackle. the big boss thats Twitter organization. chats so I got a chum to infiltrate me. into quite a few Twitter group tracks as a result. will test out the neighborhood Im setting. the president that kpop stands hate bald. persons we are gonna learn how authentic. it really is. oh do not ask concerning the Vin Diesels that. say thats a bar battle I dont need to. talk about that this elf in. my mentions with the same crusty pop. that reported seeking images you are the. one making a song me fancams i am just. responding alright I believe this is a. person homie yeah this person has been. helping me infiltrate I am not gonna. expose her name definitely we wont. reveal her secret identification. should I ask my friend how do I. introduce myself and they stated hi i am.
Call and im from after which your final. bias is your ultimate bias is jungkook. hi Im Sophie and im from america and. my ultimate bias is jungkook and i am. gonna try this white emoji that basically. teenager white girls use this one definite. and a celebrity emoji very thats excellent. whats up Sophie are you going to the. video store on are they Tori now why did. I know this nutrients its aall over Twitter I. do not stand in even I would ok so I have. been off social media a group because of. assessments and personal problems. I saw BTS in Hamilton in 2018 yet I need. to buy my mom this birthday present I. cant really have the funds for both oh heres a. controversy reaches over mom and dad Eddie. day of the week moms and dads. jungkook gave beginning to me ok why did. you upload an additional military to the various. tarts in here most people here Stan. BTS ok so this can be a institution to start.
Controversy in now very well men. warning ok i do not listen to kpop I. have no idea what kpop feels like yet. lets see the reactions to a. arguable opinion okay its the. bomb GBH jungkook has been having. disappointing vocals recently I a lot. want any other kpop contributors oh wow I. such as you already. what are they speaking to me what the do. we like beets convinced or now not what is going. on here you give off solo stand better halves. woo. so its aactually much better than BTS. though nothing wrong with solo. stands off did you just call me a . this is like a bar combat dude its. like a goodddamn bar combat no I referred to as. them why are you getting all up. in my face limo simply i used to be okay . you are saying then nevermind this army cant. study lm foul excuse me defending you. go back and forth you annoy become literally. defending you maybe if you knew the way to.
study maybe if you stand specific expertise. sis not my fault your mind win errors. for or for Sophie apologize i am sorry. that yall dont have a mind shes simply. stand real talent are you 12. sure but hes not Im simply gonna supply. putting pictures somebody already left Oh. 3 spots a fancam I must discover a. pitbull fancam that is for sure okay I. said a lot of organizations in those peoples. case flavor thiis sweetie lime foul. justjust-just. ok I must hold hitting them with. the mr. worldwide images I got to get. more pictures do my arsenal of pimple. has to grow more advantageous oh oh ok so that you. do not have a touch fight of. Arsenals I see determine this out theyre. now not gonna anticipate thiis not one pitbull. pitbulls. oh oh three pit bulls Oh for pit bulls. Oh 5 pit bulls oh seven pit bulls can. you stop sitting middleaged guys Im.
No longer fascinated people is not involved. in you buddy thats so unhappy Ive been. kicked out of the only group so in case you. apologize okay Im sorry its just a. board heavily must have done that. ill delete my tweets at present and this. is when I hit him with the true she runs. to laptop turns on logs onto Twitter. deletes bad tour hits. clenches fist that isnt how a. metallic face turns crimson okay so begin. sweating pull please dont you judge me. in any case he is executed ten movies due to the fact. its finished zero films literally what is. wrong with her ok o.k. stop sending. your pictures you know what i am sending. 4 images of mr. Vin Diesel were. having battles of images of kpop video. victors thats the neatest thing ever all. right no ok heres Eddie different. artist good I higher ship mine friend this. is how the true international works o.k. oh.
This individual surely went into my DMS to. ship me pictures of this one artist all. right that is how they need to play lets. play dude ill move all Vin Diesel. all night i do not deliver it look into this. guy the bald head you may just slap it. man you may just slap it theres an. underground artwork is that no one whove. ive asked listens to you thus far am i able to. please share with you men. Sophie please proportion definite ok my sister. used to think Vin Diesel the rocking. persons paintings good that is a getting to know of. this night it is actual theyre the same. person see what the hell what is the. difference any other cult all started. bashing on me beating my ass and i ship. these people pictures of pitbull and. they dont mind thank you guys and never. getting mad at my bald men pigs that is. exquisite nice you know thiis this changed into a nice. group wait did I am getting one kicked no no I.


5 Discord Audio Settings everybody should be aware of !!
frequently after setting up voice meter. or equalizer apo. a number of you have mentioned that youve. concerns with. discord and a lot of the days its. in fact related to. settings within discord the audio. settings in discord. repeatedly it defaults to having a few. things. on that truly should not be on or. usually you guys. pass in there and you neglect which you had. grew to become things on like echo cancellation. and whatnot so this is going to be a. speedy video on. what you should have set up for your. discord audio settings. lets take a look if you end up on discord. if you visit the lowest. left in which your name is you could go to. user settings and. less than app settings you will find voice and. video in voice and video youll have. your input and output gadget. in general as a whole i imply. selecting the default device as your.
enter. and output gadget in this part as you. can see right here ive actually manually. chosen my. microphone the enter gadget that i would like. on. discord very first thing were going to take. a inspect is the enter sensitivity if. you switch this. input sensitivity on it is going to. instantly determine. enter sensitivity this is actually um in. a feeling. a noise gate clear out so if you turn this. off what you spot heres weve a. slider. on the left part of the slider we have a. yellow side and on the correct side we. have eco-friendly. the yellow part of this meter is. in fact. muted audio so if i were to show this. down it might set my noise gate down at. unfavourable 75 decibels i desire to go ahead. and simply retain this at destructive sixty two. to be. honest with you i already have a noise. gate filter out inbuilt equalizer apo so i. might perhaps flip this each of the way.
Down. and iit wouldnt matter yet in your. guyss sake this is aa great way to dam. out history noise from coming in on. your microphone. specially on discord what you are able to do. is just track the. audio of your microphone without you. talking into it and just block out. every thing thats popping up. at the meter right here generally it will. maybe sit correct lower than unfavorable 60.. remember if you have to go too excessive. your voice would be reducing. in and out of the audio scrolling down. to the advanced area. weve a noise suppression made by this. firm called. crisp it suppresses historical past noise. from your mic this. is in beta that is equivalent to the rtx. voice. ai that got here out recently as you men. be aware of . i mean simply creating aa legitimate. noise gate filter out and downward expander. for your mic. there is not any cause to use the noise.
Suppression within discord. if you simply set up a proper noise gate. clear out. for your microphone there are. choices to this besides you have. realtime noise suppression that can be. mounted. as a filter out and setup in equalizer apo. youve the reaffir. plugin that i did a video on lately i. will link it. in the description lower than as a whole this. must always be. off down under voice processing we have. echo cancellation. and noise discount it really is wherein matters. get. somewhat iffy echo cancellation and noise. discount usually. creates like a warping influence at the. vocals. typically it could cause your your vocals. to get roboticky. and staticky when you are utilizing voicemeeter. and that additional further processing. on top of the already processing thats. being utilized by way of. voice meter may cause some concerns there. those two should obviously be.
Off continuously i do not discover them. necessary to activate. i dont certainly see a time where its. essential. for these items as i suggested earlier than just. establishing suitable filters for. your mic is a stronger way of going. about this yet many people have. issues. with regard with you recognize like telephone. settings such things as that you can turn. on. um sure audio settings when youre. utilizing your cellphone with discord and i. would see in a few instances in which. this may help computerized achieve. control is truly as much as you its. going to attempt to gauge. in which your audio or in which the volume of. your microphone is going to hit so it. will both. enhance the quantity foil or decrease the. volume for you immediately high quality. service you need to enable this putting. right here so that you can have a higher. precedence in your discord.
prospective customers over the web a few a few. cyber web providers may have some . concerns with this or internet searching for what you offer. might have concerns with this. that again this putting goes to be. up to you generally having it off is. perhaps the way to go. but if youre wide-spread a familiar consumer. of discord i could see. a case where you might want a higher. precedence. for discord audio if you do quite a few. calls or. you know you have you do company that. manner um i may see where this could be. favourable attenuation is truly going. to be like a vocal ducking or an aspect. chaining except for it is whatever that. you are going to pay attention your self. its going to lower the amount of different. purposes. by means of the percentage that you set whilst. somebody is talking. so you can have it attenuate different. volume levels from different sources like. your tune or browser audio or video game.
Audio. when other people speak or once you. communicate by using the settings here. usually id anticipate everybody to. have the attenuation. set to zero because thats form of a. unusual component to set up for yourself but. in case you were interested in what this. placing does that is what it does. it is going to correctly decrease the quantity of. different sources while some other person is. speaking or when you are speaking. reckoning on the setting that youve got. the audio subsystem mostly your. instruments will actually. are compatible issues with discord a. lot of you guys run into this. quandary in which there is a compatibility. conflict concerning this device. and discord itself you may just not ever. seem to get it to paintings. properly within discord what you can test. doing is switching the audio subsystem. over from standard to legacy. or vice versa and that might solve.
The clash. with the compatibility there the last. section here is voice diagnostics. dont actually need to dive into this. really you have 3 settings here one. for displaying. a warning while audio isnt being. detected out of your microphone. youve use the newest technology to. trap your screen and use an. experimental approach to capture audio. from. purposes overall those are all of the. settings that you will run into. with discord if youre having an argument. with discord after constructing. voicemeeter. equalizer apo this is an efficient video to. go to or if your mates are going for walks. into any issues or do not know what to. hooked up. within the discord voice settings this. video is an efficient. video to reference i additionally want to ship. you men over to the equalizer apo video. that i recently did check out the. new preset dossier that ive.
accessible inside my discord server and. additionally simply check out how to set up. all these audio settings to get your. microphone sounding. well that is going to complete this. academic men i are aware of it turned into a brief one. dont worry i am gonna be making it as much as. you men im working on. redoing the voice beater tutorial so i. desired to knock out some rapid video clips in. the interim. so i had time or a little bit of wiggle. room as a long way. as working on these movies due to the fact. theyre gonna be. big ones and take numerous time in case you. guys have any questions. after looking this video you know wherein. to go my discord server hyperlink is within the . description. under if you want this video do me a. stable hit that like button and subscribe. for more content material like this. and iif youre interested in investment this. channel and my discord server.


constructing a Discord Bot using NestJS - let#39s pair program
Ok hello everyone weve one minute to. go i presumed lets simply begin i am prepared. to go. and im terrific excited about today um. from sincere review i have had rather a long. day its been exquisite dont get me wrong. so im somewhat form of you know. tired so. i know youre all gonna assist me uh work. in this project together and im fairly. eager because. eddie bot has been taken offline it had. some problem i had a brief appear and that i. couldnt recognise what turned into wrong with. it. so i presumed well eddie bot turned into only a. prototype i needed to exchange it. i did see that nest js which were. building our api with has a terrific. um library that allows you to write. discord bots with it. and yet you get the big benefits of. an sjs with all the different. hooks and guards and simply a number of. amazing stuff. so i presumed it might be fairly fascinating.
To look at that so youre gonna. see me. uh start it from scratch today and perhaps. struggle. but dont be concerned uh carl who is on radio. eddy with me. or aka julian um he has performed it already. and uh permit me uh allow me elevate uh. carls github web page. so you will find kyles lady web page quite a few. green squares. recently in the last style of couple of. weeks that is great which is amazing. it is incredible after which if we scroll. down right here permit me make it just a little. larger for you all. if we scroll down right here you will see nest. js. discord alex js so kyle has already long past. forward and performed it but i need to profit. a way to do it so i presumed. um i will i will begin from scratch and also you. comprehend we can all do it together and do not. overlook we do have. the stargate repo that is already. deployed to kubernetes. and has already acquired each of the tokens for.
Discord so we could possibly get this. deployed today we will see. how we get on but yeah poor eddie bot is. lower than the weather. and isnt operating right now so how. is everyone within the chat seem. uh say hello in the chat it is um awesome to. see what youve all been up to at present i. desire youve a superb week it is the. weekend meaning a great number of open resource. and weve uh prathamesh has already. first at the mercy crimson was moment carl. was 3 . well i used to be moment yet you know i do not. count number um. sassy adithya magnificent to have you all. here lily. jason long time no see jason karuna how. you doing karine im hoping you are well. mikey very long time i hope work is. going good youre not operating too hard. felix marvelous to have you ever all right here do. say hello. to one another and all right its. collaboration not just with me yet. between each other grow your community and.
we are able to all study from each other. so thats amazing uh ok. and and uh definite we need um. eddie bot or alex alex js and ii think in. the chat so persons do not say hello guys so. a lot. um so certain marvelous to have you ever right here lets. start so. um in fact you know what before we. wager coding i need to begin thiis right. from scratch. you will discover i have my terminal right here. ive like finished nothing we will do. every little thing from scratch. uh permit me um say hi to carl whos on. radio eddie and carl can provide themselves. a shout out perhaps talk about a few of the. things they have been constructing. on the api for our neighborhood is going to. underpin. our stay circulate kind of you recognize stay. map wherein all your destinations are which. we had a prototype before. and likewise the discord bot so carl how you. doing hows your week been. i am pleased to have weekend now uh im.
excellent. awesome actually allow me bring um discord. over here so all people may also see that. besides at the live flow. cool sure the weekend is right here that is good. so im hoping youre gonna have a damage and. you have accomplished lots of coding on our api. um this weekend yet i am hoping youre gonna. so this week i am hoping you can have a ruin. besides. oh i its aactually relatively uh relaxing i. relish. coding um for this project awesome. thanks ok that sounds cool so i. want to get started so my. my first suggestion and i am maybe going. to make some errors yet. um you know i am im self-assured between. anybody we can determine it out. im going to pass into my repos directory. wherein i create all my repos. and actually allow me also drop. um carls github within the chat. or cross give carl um a comply with. carl has no fans on github i am going to. be the 1st and optimistically you will get.
some extra besides. okay so that is how were going to do it. i feel the first thing that i ought to. might be do first. is create an sjs assignment so lets see. how this is going. an sjs documentation good area to begin. um i have had to play with various. little bits in sjs. and as our apa evolves ive been. learning tons approximately style of guards and. middleware and all remainder. i like it how i had to play with. websockets how you will get his stay chat. working really quickly. and theyve surely considered this. framework it is all constructed on convey so. its kind of might be building on one. what all of you recognize already so do have. a look into this im very very impressed. with it. so first steps its maybe an excellent. place to start install it globally. i think i might be got it create new. assignment. hmm create new task i am going to just create.
a brand new project for now. i have to add it to an present one to. get it deployed but we will fear about. that. later so let me create a new assignment. what should we call it. uh ill just name it discord bot um. ok its new lets cross wait some . seconds. npm or yarn lets select npm i love. vanilla preserve every little thing vanilla as. possible. um lets have a look uh. koalaa happy hubbers definite precisely joyful. hub changed into all. and uh adithya um why unhappy . im hoping i suggested your name right have. you not unhappy because i pronounced your. call wrong. lets uh lets have a look at everyone watching. do not forget deliver this video a thumbs up. genuinely helps uh assist the chat. lets put the chat weve help. channel that is not an outstanding start. ok we do the failing sounds must be. a failing sound yet persons on radio edit. you wont be able to listen it.
Uh lets have a look um. okay uh okay so it is created i believe. were good so now weve created lets i. necessarily do i necessarily head into the task. so we cross into discord bots. after which i necessarily open um the vs code. right you recognize all of us like vs codes. so lets convey this over right here so you may. all see it. and ill make it way bigger there we pass. you all realise bs code im sure ok. so what. subsequent lets have a look she created it. okay so now i need to actually perhaps. bounce. directly to the um. uh the what do you call it the kit. that we are gonna use for an sjs. to create discord so it says. installing we have to. install these two things and weve used. discord js earlier than. so the sole additional type of new one. to us is the. nest js version so lets take a look so. lets just set up that. npm install lets pass so up to now it has been.
All a copy and paste. lets have a look um. oh what we got in the within the chat um. followers by the way magnificent thank. you so much that is marvelous lets get. lets have a look at if we are able to get carl to ten. followers at present. thanks oh i see thats why karuna. thank you a lot right i im not the. the sharpest toy in within the within the box as. the expression says but queen is announcing. convinced uh adithya might be unhappy because no. fans. i agree i used to be sad too lets see if we. can get double figures. marvelous ok so now weve hooked up that. lets examine what next. i am already stuck no im jokking um okay. so next is asserting weve ill have a. token i will grab a token that i have. earlier than. im able to seize some of these ids okay. marvelous lets just get. good day global working and see if we can. see that seem in in discord. so instance of making a dynamic module.
With config i suppose it has different. methods to do that uh carl did you know what. the variation is among those. alternative ways so you have got. four routes and then youve got four. direction async so async i am guessing its. gonna attempt to retain loading up the. project while this happens in the. background. so is that more efficient do you know um. to be sincere i didnt figure out whats. unique. myself um i believe if you use um for. direction async. you may move um exceptional services for. instance if you have. um the token into um within the dot. n dot enb dossier um you could pass. you may inject the config provider whilst. developing um. the module um. that is the use case i see ok um in my. repo i. did it um with environment. variables ok um i did not do it um. the manner that i hard coded a token into. the use factory technique. um ought to we have a look but i feel.
Its it is it is only a choice. lets take a look and we can actually. exhibit persons um which. dossier will be a module. ok yeah so that you let me take a look yeah. you will have to have the youtube open. um a good way to see it its in. in my repo it is in a bot folder after which. um thiis called config carrier. discord config oh no longer the spec discord. config provider. received you i see okay and there i. injected um the config services the. config provider um which reads the. env file i see. ok bought you ok that looks quite quite. sensible. ok i am gonna attempt to maintain it extremely good. fantastic easy. um but i can not put it in that file yet i. dont ever want to see on the stay. circulation all my tokens. so i should have a thing i must have. notion this earlier than. what does uh um every person else thinks. um aditya why are so many followers. still showing 10 even after so many.
Follows. um it takes time for these numbers to. replace i feel theyre all running on. extraordinary microservices on github so. no matter if you get various followers it. will possibly not take month-to-month 24 hours to. actually replace to what the sensible. numbers are okay so i am trying to suppose. i could do that and ii could you continue to. use the config i cant inject youre. correct i see what you suggest i can not inject. the config service to get them out as. surroundings variables right. ok um what you can in all probability do. um i am not really certain if it works is um. reference. procedure.n directly im not utilizing the. yeah um the config carrier this can paintings. but. uh no longer no hundred percentage warrantly yeah. no it is good lets try out it lets. test. um so we will all learn whatever new if. it works or if it would not. so the um wed do this for now.
Um but it isnt something that id. variety of devote and did and installation yet. something for regionally just. for uh proof of idea i believe works so. if i visit. the discord it is a discord module but to. the the module. i am not gonna um do anything. i think carls project is far better. look into that for uh reference. but im just doing this for instance so. lets have a look. whats their bot gateway as well. am i able to click on that export bot gateway. um lets have a look. shes accomplished slightly of study earlier. right here we move this is the gateway correct okay. so. on ready occasion prepared log it ok that. is sensible obtained you. ok lets take a look in order a typical. developer. im going to do loads of copy and paste. so we have module weve got imports. um so its going to be an import um. lets have a look so its discord and.
Sjs lets reproduction. that import at the tip. okay and then ill grab. this import i feel it is. there there we pass so. due to the fact we want to maintain the import array. and we paste that during. that looks you recognize not too undesirable oh now not. dot. comma all people following alongside lets. have a look and notice. so um thats not completely happy okay thats simply. the. uh the lacking trailing comma. okay awesome the others have it as well. so actually thats an improvement persons. can make to the documentation. if you seem this ones the the last one. it has a trailing one. um this ones the last one has a. trailing comma yet this one would not so. once you copy and paste this you get an. error. so let me um share this task of. everyone. in um. within the chat and someone can boost an. drawback and truly enhance a pull request. and so you dont when you reproduction and paste.
this instance you dont get an errors. right lets have a take a look um. weve a few questions in the chat. lets have a look uh uh aditya. says so many left tabs in vs code. what are these oh these ones down the. part. ah ok good question so. i need to keep watch over discord as well. be sure no ones raising their palms. to to come up. if you do allow me recognize within the chat so um. the tabs ok got file thats the same. as everyone elses i believe search the. identical. what is converted to the resource code um i. shouldve completed a devote earlier than i began. making adjustments to this i always do like. an initial. sort of dedicate i would do that now and. then. this one is the debugger then its the. remote. this one distant explorer i used to be simply code. areas this is for code areas . this is the plugins so ive all my. plugins mounted.
Um lenses get lenses which just gives. you an perception into your. style of your your project and stuff okay. lenses simply obtained removed not sure what. occurred there. uh stay proportion uh to do studios is actually. useful. um when you form of positioned i admire this. due to the fact persons just put todos. anywhere. after which neglect that they they occurred. and that they cross oh good. you know but now i will get a listing of all. the todos which have. looked in the task and i can simply. go to them instantly. and simply cross and fix them and clear up them. or if they are obsolete simply remove. them so i really that is like certainly one of my. renowned tabs. highly suggest having that uh it really is. azure thats i take advantage of this for i. imagine because you need to use the azure. provider to connect to a database. yet i do not use that anymore i might. actually eliminate that could i uninstall it.
Um i can most likely just eliminate that uh. lets examine this ones a new one whats. this one. a hundred days of code yeah i dont use. that one much anymore either what. else have i got down right here docker and. code time and mongodb. i possibly need to variety that up um. theres a lot there that i do not. correctly use. so thanks for placing it out so i like. everyones questions. uh i have never obvious these tabs in vs code. uh. i work with yeah ive further them on and. i possibly dont need all of them. yet let me comprehend which ones you would use. out of these not really too many. live code percentage is advisable lets. uh. lets take a look um. what is click the cause of using typescript. with nest uh nest by using default. makes use of typescript and typescript is just. freaking amazing ask nick. when nick arrives shortly you will see. that typescript is marvelous.
Um lets have a look ok so i desire to. do actually im going to undo this for a. second im just going to variety of. so allow me do an undo and its always a. well thought. undo that and then i will save it. and iim going to do a dedicate so if i do. if i clear my console. and i do a status ive got all of these. i think theyre all secure to dedicate im. just checking. they are so lets do um a get ad we will. add them all so now it will likely be. well do a list again you may you may. see all those i know what a number of you. are announcing youre announcing eddie. why are you no longer utilizing uh vs code to do. this im just so used to the command. line for doing this. uh okay and then i am gonna do a dedicate. so i am gonna say initial nest commit or. whatever like that. so um and then function initial. nest js task simply so i do know that if i. mess anything up im able to simply revert back.
To this so i have committed i do not even. must push it. it is dedicated and that i desire to redo what i. had here. um there we go so i have reddone what ive. came so ive got this again back. ok so those tokens obviously dont. paintings. what were going to attempt to do is as. carl suggested and just use the process. um after which i am gonna i can take my. terminal. off the display screen briefly and set the. surroundings variables for the tokens and. then bring it back. so uh lets have a look at i think the guilds allow. and deny is ok and. allowed commands and etc is. satisfactory cyber web hooks i dont think we need do. we need information superhighway hook identity and token i do not. assume we do. i may well be incorrect i think the only. essential um properties are token and. command prefix. remainder uh is okay lets. uh comment all of those out if i. keep in mind actually. that sounds well no quandary well try out it.
So i want to use a different command to. every little thing else so that we know were. simply targeting this spot. i desire to use percent which is not. something we would use if and when we installation. it. but um lets uh lets take a look. oh whats an sjs okay amazing query so. thanks very much for the the question. uh elusive code. so the question is the question is um. allow me bring up your query on the. display screen i should in fact get more um. organized at this i get over excited. with coding. etc so right here we pass good query if. ive. overlooked any questions i am over right here so. i am nonetheless here. if i have ignored any questions you simply. form of wait a few minutes and replica and. paste it back in. so next js i need to describe this. correctly it is built on top of. um show and its. used for build it is a body of building. apis and its influenced.
by way of angular dont run away and get scared. yet which angler become encouraged by way of like. type of spring. so it is really variety of that framework. mentality its really nice you have got a. lot of equipment there all set for you. http purchaser you are able to do that you desire um. information superhighway sockets you wish guards you ought to. safeguard it is advisable sure. middleware it is its got numerous it. built you would like a logger as i learned. yesterday with carl. once we have been talking about this you would like. a logger its got a vanilla one in-built. convinced one could add extra to it and. customize it but it has got a good. starting point for for every thing so. thats a. surely extraordinary query im hoping i. didnt miss any others i am attempting to. have a skip and have a look um. pr discord.js despatched thanks . oh marvelous nice ok. so that you despatched a pr to that project. and deserves a shout out thats a green.
rectangular for you and uh. thank you much for doing that thats. amazing. because you be aware of i saw it as one of those. squiggly line and ii thought right i do know . its just a comma. and iit is just a comma and ii know a lot. of folk say i shouldnt make. contributions that are just aa space or a. comma. but when someone copies and paste that. like i did the instance. code into their task and they see. this underline or they run the assignment. and it fails. they cross oh it doesnt paintings they dont. realise that something. um is to anything easy they wont. recognise if theyre new to. that type of task or perhaps new to node. and pritier and linto and all remainder. so i believe the exles should be. bulletproof and should. work so convinced anything like that. obviously send in a repair is really. genuinely important. have you ever discovered new javascript.
Libraries fastly i have never looked at. fastly but ive heard people you recognize. talking about a lot. what issue turned into to be raised in the repo. i think it acquired raised already. i feel so uh aditya beat you to it. adithya sorry my bad there is a. uh its very very small on my on my. display down there but there is an additional. letter. um i havent any task ok son. kara. really wants me to respond so earlier than we. get into the coding allow me. look at this query all of you. be happy to respond in addition. it is tremendous for everyone to have. distinctive views i dont have any. projects performed until now yet i do know html. css js python. and also dont have any git repos to do. please tell me what to do. create a git repo i am certain youve got. those aside initiatives create them share . them on github and become a member of us on discord. and youll simply variety of snowball from.
There. its uh you only got type of you can not. workout on the fitness center. if you havent kind of gone to the gymnasium. so visit the gym after which. try any exercise after which you will youll. you will find a lot more routines on the. gymnasium that youll be able to do in machines that you. can use. um and uh dtr says already answered so. hopefully that allows i love seeing. different. peoples views okay eddie enough. speaking lets try to do a little coding. um right so this one we are able to say it is. process dot n dot. let me see what i name it in any other. project just. so i cant i wont oh dont suggest to. area that what am i doing. um i am gonna open a terminal over right here. simply so im able to get the token but no person. look at the other terminal. you can not its aanother display im secure i. imagine i am good. uh and let me simply get the the name of. the token so.
With any luck it must be satisfactory. lets have a look um you recognize what i. might do ill start ive got. an easier suggestion i understand how to get this to. work ok everyone endure with me. dont be concerned all is good were we can. paintings it out among us. so if we go um. lets take a look right so ive got a. excellent concept i want to carry this terminal. over to another display and iim going to. start the task from there. and then any other commands i run ill. run in vs code. i know you all like vs code and so forth. so uh let me take a look but then im able to. in the command when I run it like i reported. its aan environment variable so lets. have a look. lets do it so to start the task i. should have all started the project in fact. before i. even positioned this in correctly theres. another thing i ought to accomplish that what i. might in fact do is undo all that again.
And lower back human we must always determine the. task works before. we try to customize this this is returned. to what we had before. and lets begin run the assignment so if we. examine the documentation. the task is likely to be npm. run begin but lets. double assess and see. what it says first steps set up it it. tells you what. files get created i love the fashion that. it does it npm run start. so im able to do it at the display screen so you could. see we are going to do. npm run begin after which in the browser we. must have a howdy international api. thats how easy its to get an api i. have got a video on this uh going into. extra information i posted a couple of days. ago on wednesday. wherein we really get information from githubs. api and merge it with data that we have got. in the application. so thats up and walking lets visit. localhost or no longer nearby hack day.
I believe 3000 and you will find its very. small um. hiya international so we all know that works ok. awesome so permit me take this off screen. allow me placed the um token. for discord and lets have a look. um after which optimistically. npm run start. so the task ought to run lower back and we. ought to see. no change all ought to be well it is up. and jogging you may believe me in this. and so if i reddo this. and the name of its discord token no. surprise there. and you should not see it and we arent. using these so lets just go away those. out. i like vs code typescript all this. magnificent stuff. okay so hit shop the task should. restart. it did not i do not know why permit me start. oh no theres a dev mode aha there is a. dev mode for the project. so if i return to the documentation and. i go back to. cli over if you permit me determine i do. remember seeing.
Uh yeah npm run begin dev so it watches. for changes which is what i must have. achieved npm. run start dev. nonetheless with the token i am especially certain and. if i go to localhost 3000 returned. now not localhag day 3000 remains up and. jogging. you cant see the token that is superb. right allow me make amends for the on the chat. let me see what i what i overlooked. um oh chats going good magnificent i like. it when you all ask questions and chat. among each other its aawesome. uh what did i pass over i do not remember. where i got to uh what is sjs we did. talk about that. uh alicia raised the pr. um thank you for explaining subsequent uh it is. ness js sorry now not. subsequent js so nest js is an api framework. subsequent js is a framework for the front end. for react. it does have some form of backing. functions yet its totally light contact. i did take a look into that but yeah if.
You want a suitable. api i would opt for an sjs. and you can get up and strolling as you. noticed literally in mins. but no difficulty okay cool. lets take a look. um. uh sankara i already responded your. query i think some other people did. in addition. i was a typo that is great okay cool um. well thanks for clarifying ok so weve. acquired this up and running lets see if we. can get hey international working in. correctly in discord so lets have a look at so subsequent. thing we have to do. is weve got this i feel this looks. good i do not its going for walks there is not any. errors in the console. so the subsequent component we do is utilization so we. have to create a bot gateway dossier. ok i mean we are able to do this and duplicate and. paste that in sounds good. ok um i know carl has accomplished it in. exact module which is. a nice way of doing it i want to preserve it. lifeless useless simple for today.
i am simply attempting to do a spike to determine if. going ahead might i write a discord. bot with nestjs. um typescript ok lets take a look. paste it in. we will do somewhat formatting. there we cross ok um. shop that and it may load it lets. take a look. and see. ok so it may oh good ill. add it theres one more thing i am going to do uh. the assignment would not know whatever about. it but. i have to upload it to. um to the module particularly certain ive neglected. that step. lets take a look might be as a. supplier yeah im attempting to seek for the. documentation on it. but theyve form of neglected that step. i have all have i missed it. allow me see usage um yeah so that is the. gateway. it makes sense and you can use the. client decorator ok that is particularly. interesting too theres ways to do. it you can do it for provider. or you are able to do it with a decorator ok.
Thats well to grasp. um i imply both appear nice and the same to. me. and then that is for receiving messages. so straight away theyre on to the next. style of discord bot listener so actually. you are right they havent. theres another improvement to this. task permit me percentage the link to this. task. i feel i shared it already but i am. going to share it another time um. boost an argument that and do double verify. that i am. and this is right but it looks like. once they deliver an exle. they do not add it to the module file so. back. you know we will i may have figured. that out but carls obviously helping. me which is making it plenty easier i. love pair programming. um but you know somebody is doing this by using. themselves they may get caught on that. for like three hours. while you know about a lines of. clarification or code or exles would.
just assist them make it a lot easier this. is why. it is so significant for everyones. tasks to get folks to look at. it due to the fact. they may not comprehend the certain matters. which you know once you make assumptions. so lets have a look so. it is bot gateway and were going to. add it to providers we have app. provider which is nothing. that is become car generated through gateway. and if i hit enter. lets carry this up a bit of it. should get immediately added on the. right. yeah we have at the top so lets hit. save and. the console i ought to be able to um. show you now because the token is hidden. that is good. if it does not get hidden ill be very. dissatisfied. yet no it i feel its hidden okay and. weve an mistakes so lets have a look. lets debug it all together. so lets have a look so places cannot. study property ship of undefined.
On on all set in bot gateway line 23. so lets have a look good ok 23 is. javascript so. we dont have the uh the mapping so. well simply uh remember that were. searching for on ready. so on prepared became announcing um. send okay so we cant this doesnt paintings. okay have we executed anything incorrect or. have we found an additional hassle. um within the assignment lets have a have a. seem. well perhaps i did anything incorrect allow me. assess. so when I use this and iits got. a common in it does it bought imported in. sjs weve all the imports. quite certain i did exactly what they said. ish. i feel it got the mistake um i believe um. in the app module wherein you initialized. um the. discord module and also you did not supply a. webhook. url and thats why he cant discover get he. cant do get webhook. purchaser and thats why ship is undefined. oh i see. okay so if ok well point.
Well good observed yet i feel you may. simply delete this line i feel you dont. desire this. its in case youre using uh cyber web. hooks right. okay so it can be accomplished another way i. guess right it is accomplished. can anybody just get client yeah it may. be finished we get customers. ok oh yet theres no ship on there. okay. well we will see we will see if we will get. a log right because it is going to deliver. us the user tag. and all the rest so lets simply undo this. for the instant. and return to what we had remark this. out save it if i elevate this. it should reload excellent no error this. time. and it does say logged in as eddie bot. so. it works it is linked to discord so. perhaps the next issue we can do. is get it to hear for a change on a. command. so lets and were gonna have got to come. back to that because we do want to ship.
Messages to discord nonetheless. so lets have a look um okay. create a handler for receiving messages. by using the field i like it how its just. broken down into. unique files you do not get those large. files always issues its all kind. of. taken care of for you okay um. lets uh lets take a look so im simply. gonna kind of replica and paste this again. do not do what i do all people and theyve. referred to as it bot gateway returned ok so. theyve placed it in an analogous dossier ok so. we are able to positioned it in the same one. because its a different trigger it is. going to be um. an on command okay lets seize that. placed this right here what have we received so on. command hasnt been imported. we should better simply move import i think. its appended it up there. nice message would not exist lets examine if. it may determine it out. and do an car import as well perfect it.
Has completed. all of it appears fairly fairly blissful so what. we predict. is when it begins. uh whats message come from and it gets. a message so allow me simply read a few. i didnt study this yet i am guessing. start so thats the command its looking. for im guessing. i feel we should always do it on allow me see. what would be what would be an outstanding that. i believe i noticed on a superb instance. that would be better i dont desire to do. on every message i am watching you i did. that i believe after I changed into having a play. with anything as soon as and everyone had. someone wrote a message the bot was simply. spamming every person so you wont try this. lets uh. lets see let me get closer the chat. while you are having a having a study . band sal can you tell your different uh. channels that supply open source content material. and training. um not to everybody touches on it i feel.
but nobody really makes a speciality of open resource. like myself. so um but i am going to have a look ask and. discord and we are able to we are able to. send you some a hyperlink in the within the . description lower than to the discord channel. and we will chat to you and uncover some . people yet were already discovering. some bugs during this at present so. with any luck someone has raised the problem. that uh what was the difficulty oh yes including. it to. um the module oh but they do add it oh i. ignored it if we glance. um providers bought gateway oh that is. due to the fact. definite they did upload it previously ok so. they added it earlier than. and i went directly on to usage and so. it is a bit weird including it before but. the dossier would not exist. id have executed it a bit. in a different way id executed it like a. proper circulate. yet you recognize it is it is there i just. imagine. i wouldnt add a dossier bot gateway to the.
Module until i create it i necessarily sort. of create the dossier first i do not know. what persons think um themselves. right within the chat what do you believe. lets have a look challenge raised. um okay cool. yeah deleting yeah do you i think you. can the issue um. i even im able to placed a comment allow me let me. take a look at the issues and i can say. oh i discovered it so you can not delete it you. can close it i feel it is. ive got add comma at the top by way of jason. amazing after which i believe did you shut. it already. um but i may positioned a remark and say oh. i found it that it turned into further up and so. forth. um if that is if that should be the. case im happy to. to back you up on that because i. endorsed you to elevate it and it changed into a. bit perplexing the circulate um. wasnt wasnt fantastic um so okay. and ii wasnt reading it when i was. rushing by means of ok.
permit me understand inform me the problem number if. youve uh have. study it copy and paste uh is ok as a. developer ill create a project via. simply replica and paste to create something. itll be exciting and iimprove my examine. abilties your replica and paste is nice to. start with. um yet i feel you must. realise what you are copying pacing i. imagine once I copy and paste. i simply go out it really works and simply type of. do it when I when I kind it out i. in fact. imagine more about it so its kind of not. incredible but i am simply aware of time. simply i desire to keen to get anything. operating and to only get. my goal here isnt to truly comprehend. everything is to get something working. to determine if. if there is something we should always use going. ahead so its similar to a spike so. i am going to cut a large number of corners. besides i also have a question for.
every person and perhaps for carl as well. who i know has accomplished nest um js stuff for. um much more than me is what about why. is thiis specific to discord bots so. correctly its maybe not so much of a. nest question. yet what approximately trying out a discord bot. because it it. does information superhighway sockets so id have tried in. the past to mock out the websocket. and ship the information that i desire to the bot. so that. um im able to verify the reaction but the. difficulty with thats after I um. ship the data lower back the uh testing. library sort of kills the connection. and then the bot just keeps trying to. reconnect all the time to the websocket. and so it simply gets into this crazy kind. of loop. i wonder if anyones established any. websockets before due to the fact thats always. uh. because its like a fascinating. trouble okay wherein turned into i. um right what become i doing i was doing we.
Had a start thats what we had. execute command start ok i believe. thats it. i think it is going to run and carl could. comprehend more than me. if youre still round is that um i do. the start command iits going to reply. with this lets just supply it a pass so if. i hit shop. should reload logged in as eddie bot. excellent. lets elevate discord lets take a look. um and permit me visit lets go to the bot. chat. and what was our uh with a percent i. imagine. if i do exactly test not anything should come up. oh youre perhaps at the back of my head eddie. its in the back of your head. sorry everybody my bad permit me make it uh. bring it up its friday. endure with me it is friday actually i make. errors like this daily. so test as you will find experiment is there and. um. no respond no comment nothing in the. console nothings converted so the bot. hasnt finished whatever thats good.
So if i do percentage and that turned into our. set off for our command. test im hoping it does nothing back. not anything there. nothing within the console ok nothing is. good and now if i do. percentage test begin sorry percent. start. i hope something occurs both in. the console log or within the chat. lets examine it worked i mean thats how. quick its to get. an sjs up with an api and a discord bot. i imply thats pretty tremendously fast right. so now we have. execute command percentage start so. therefore we are able to do. so many other other things hypot. reason why actually i would like um to get. our api up with the intention to get the map. post in the back of me and as persons work together. utilizing. um doing contributions to open resource i. desire their profile to seem at the map. from github so i have so many cool. thoughts with that so i might be should. consciousness more on.
The api than doing these other things. but the bot. with the bot going down um i want alexa. js up so much due to the fact i i am in order that . bored with everyone just saying hiya men. it is like not everyones a guy here so. um yes so i am eager to a minimum of get uh. alex js up at the bot and then we will i. can come back to the the api however i am. now not doing very much on the api its. as a rule carl. uh ok oh sorry carl well say. something. no no um ok every little thing nice ok cool. no hassle um okay in order that works so i am. happy with that. and so what one thing we want to do. otherwise is. we dont want a command for alexa js. thats something we dont need we do. in fact desire a edition variety. i do like having the the understanding what. variants are going for walks so people can suppose. well wheres my characteristic i. submitted a pull request to that um so.
Its uh it is good to have a edition so. what shall we. probably do i will not get distracted with. that now yet it is going to be well to have a. edition command. um yet maybe i am going to just difference that to. version and we cant bring out the. version. but um we can just remind us to place. that during so now. and that should be exceptional it must have. reloaded ideal. lets convey alexa alex js no longer alexa. alex js so we want that to trigger on. every message. so lets have a look what we are able to do so. if we go to the medical doctors i did see anything. enroll in the event. and we want to join each. message and were not likely to reply but. we are able to have a look so. lets take a look if we i need to install. the same file for now and lets . necessarily. uh separate this out later if you want . um wed like the on. annotation and im not likely to reply.
but when it is not the bot lets do a. console log um. simply as a way to see within the log console. and there is an awesome oops now not intended. to do that. there is aan awesome logging inside sjs. yet i am not gonna try this right this moment i am. simply gonna say um. lets log the message so yeah simply log. the message. message dot good i didnt see what it. become. it changed into lets say what its. message dot um. can i get the content of it no longer author. content right here we pass. there we pass so ought to i see it with any luck. in the console log. that ought to reload lets return to the. bot. long time no see eddie but. uh yeah nest js spot. okay um right i am sorry there you move. see in the console. right now not at the back of my head is it ok so. that is coming by means of so we know for. every message. so someone else can write a message in. the within the bot. chat channel and i desire to see that it.
Also comes up within the console and its. not only from me. so i desire to prove evidence to all people. and myself that its not simply me so. karuna nick jason an elusive code i know. youre already there if you may write. a different message

Leave a Reply

Your email address will not be published. Required fields are marked *