your individual Discord Bot - Aliases (2021)Whats going men your individual Discord Bot - Aliases (2021)what is going on guys your personal



Code your personal Discord Bot - Aliases (2021)
what is going on men welcome back to. a further discord.js educational in latest. educational were going to be adding. aliases. to our commands in our discord bots if. you dont know what an alias is. google tells me that its a false or. assumed identification. what this suggests is as an instance for instance. i create a command. thats play which joins a voice. channel and starts gambling a command. yet for instance i want to execute this. exact same code. of this command utilizing an additional keyword so. in place of play. i want to execute this with pl and simply. with the aid of doing. this right here it is going to still execute. an identical. code as play and this is very simple. it will be an incredibly brief video yet. before i start i do favor to give. my discord server a brief shout out it. has been like four days on account that we. officially launched. we have over one thousand individuals already.
Come right here if you are. into coding disc or mods this is a. coding neighborhood for discord bots. and also we do have a bit chat place a. little front room vicinity if 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 ahead and. start with the actual. code so like i suggested very quick video. all you are going to want is to visit. your message event if youre new here. be sure to watch. the entire occasion handler video because. we restructured our complete overall assignment. so lets get started here. in our message event we have a const. command and this is equal to purchaser that. commands that gets cmd. well edit this and do an or so. or. it is going to be purchaser that commands. dot uncover well create a. variable im simply going to name the.
Variable a. with an arrow operate a dot aliases. aliases and then and. im correctly going to copy aliases and a. dot aliases. that includes and we will move. in that cmd another time cmd. is thiis constant up right here that is simply. rx that shift that to a lower case. and truly we are well-nigh achieved. with the message events. now from right here go to all of your comments. and were going to create the aliases up. right here. so aliases colon it will be a list. and you can start. typing your aliases so for the mc server. we are gonna have 3 aliases. one is gonna be mc the next one goes. to be mce. investigate and the ultimate one we are simply gonna. write out minecraft. and ensure you put out the comma at. the top put it aside. store everything and everything should be. walking satisfactory lets go ahead and do note. space dot. there we move its online lets pass into.
Our discord server attempt jogging. the first authentic name of the command. which changed into mc server so mc server. you can find it is going to say please. input a minecraft ip after which we will. also run. mc it will say please enter my. variety uh whats the different one that is the. mc. examine after which we also have minecraft. so all of these commands listed below are. technically running. exactly the same code which is this. however. you know it is simply its the aliases its. the same as the called. um commands right here so it technically. all works i can actually do anything. like. mcmc.highpixel.internet. 5 five six 5 and there we move. the body is gonna work. now what in case you wanna use those aliases. as anything like a side command. so rather than walking exactly the same. code perhaps i want to have. mc here run one other code than.
This yet nonetheless have it in a similar file. here. the way you do its come each of the manner. here well upload anything down. here within the execute method. and we will call it cmd we are. truly passing cmd right here. thats this variable you could upload in. any place right here i am just going to add it. right here in the boys in the center subsequent. message then come here into your. command add it to boot what you want to. do is reproduction. all of the code and you simply desire to pass. ahead. and investigate for the cmd. so all you do is do if cmd triple equals. . and the first one is usually going to be. the particular main command so. mc server and then move ahead and paste in. your code then come each of the manner down. here and then do the next if so. if cmd triple equals to mc thats the. first alias were simply going to console. that log.
And we will console the log. saying this is not. an mc server after which lets do one final. one. which is if cmd triple equals to. uh minecraft and iits going to say. message.channel thats ship again you. guys can sort you guys favor. here. its aactually no longer console.log let me. message that channel. that is ship so that they can see it on the. server. and for the minecraft you can say we. love. minecraft so utilizing these 3 aliases. we are correctly strolling three distinctive. instructions. in a single command file now technically you. would. do dissimilar instructions and its gonna be. no unique than the actual command. handler that we had before yet with this. new command handler we are literally. organizing every thing. so that you do wanna have your command you. understand documents and everything prepared. it is just that with a view to have a you.
Understand an additional alias with a further. operate. im just showing you so lets pass ahead. and run this. and now if we do mc. server it is the 1st command so. please enter your minecraft ip. then if we do mc its going to say this. is not a minecraft server. this isnt a micro server and if we do. minecraft it is going to say yay. minecraft we adore minecraft. and that is how you truly can run. diverse instructions in one command folder. utilizing aliases. ordinarily you just desire to use. aliases as aliases. yet generally if you end up doing. whatever like the play and leave. command it is advisable to have them in. an identical. dossier so you should use the exact same. things so im able to use. like the voice channel and keep. every little thing prepared so. thats pretty much it guys im hoping you. guys loved if you did be sure to.


Awful KPOP DISCORD SERVERS
Welcome gamers earlier than we start this. video i cannot strain this sufficient this. is a case study this video is in no way. intended to advertise any harassment to. anybody I know how controversial this can. be I tweeted out Korean pop obtained about. thirty people combating in my goodddamn. require just like the video I made one. 12 months ago known as awful hairy discord. servers Im trying to infiltrate this. neighborhood and see what its about my god. fairly frankly we see it all the time. kpop stands and Twitter reprised. replying with fan cams and thats what. we see at the top of the iceberg yet I. wanted going to be and find out what. its aactually desire to join this. neighborhood. so please no matter if you are a kpop stand. or not dont move in harass anyone shown. in this video. oh man Jesus Christ we will begin with. our possess discord account.
My call is mr. kpop situation 1 I am not. from the kpop community but i am from. an additional stand community how nice well. those people treat me okay Im form of. scared Harry patterns lady friend. you seem so dreamy in this image i am. gonna juice this one. oh yeah batard all God but amazing i am a. Harry style supporter now time to work out. how those groups will treat me. understanding i am from yet another community. so i am not only gonna join kpop servers. i am additionally gonna become a member of anime servers see. how people from the anime servers could. deal with me you guys ever heard of kpop. Lord overheard or be aware of what is kpop. kpop Korean pop it is a genre I want to. join that neighborhood okay hear. here Harry patterns as someone who came. from the k12 neighborhood I enormously suggest. you do not go too deep into the neighborhood. because its a foodstuff i feel that is a.
genuinely imply assumption i think you only. hate kpop okay listen right here bucko. do your self another battle which you you. cannot your self out Im okay. its aa lot of fourteenyear-old women or. your pal you recognize I dont believe i used to be. girlfriends Audi likeness. Oh what is this oh this is all in Korean. I dont know Korean IG is trash interval . yg interval period I dont know what that. skill. girlfriend it really is the worst welcome. ooh thats on a bot hello i am looking to. convert I have certainly not heard a kpop yet Im. looking for pals oh why are they. making exciting of me why do you think it enjoyable. of me Dan twice first. why would I stand two times if I recognize. the 1st time is there a rule where I. ought to stand someone twice and a. 610 mamamoo dan gee thats a automobile. firm ive certainly not heard their music I. do not know who they are but what is this.
all of it I dont know what the any of. this implies I have on no account heard of them. earlier than. does anyone want a role play as BTS. individuals yeah does that a No hear. freeze authorized teethers why cant you. men who are these persons. idols hey what she deleted it maybe. it is time for me to depart you are not. gonna continue to be right here although that allows you to. find out about kpop i think out of touch cuz. I dont listen to kpop plenty all people. starts offevolved somewhere can help you genuine yes . a big welcome begin from listening to. London oil thats a resource buddy begin. with one team but what you can begin. with BTS if you wish Im deaf though I. cannot listen to tune what why are they. making exciting of me are you making exciting of. me okay Harry Styles is just. knocking through the drink how about we. start with that BTS members jimin jhope. suga jungkook jin RM okay jungkook is.
the chosen i dont know who any of. those are yet i thinkin ago with. jungkook who i discovered a kpop server that. hosts karaoke hello changed into garyoke with a. karaoke field very well alright lets play a. song Im ready please play me Jung Kooks. #1 hit whats that I simply prefer. to sing a jungkook song just get me a. well music o.k. okay i am all set ask for. funds get recommendation. I spread my money two times theres a enjoyable. tune hello this a study room and i say a. little song good buy junk code like this. okay sorry guys as much as ill assist you I know. my manner turned into gonna be later a few week. ago well time these are pitbull eaters. they devour mr. international any bald persons. no that is the worst matters occurred to. me this night now i understand how kpop stands. react to other music maybe a few music. even better than kpop now I know how. they react its so unhappy it is time now.
That I have learned all the secrets. by way of discord and through many her. aisle and blunder are you prepared to tackle. the massive boss which is Twitter institution. chats so I got a friend to infiltrate me. into numerous Twitter group tracks for this reason. will test out the community Im setting. the president that kpop stands hate bald. persons were gonna learn how actual. it really is. oh do not ask about the Vin Diesels that. say that is a bar battle I dont need to. discuss that this elf in. my mentions with an identical crusty pop. that reported looking images youre the. one making a song me fancams i am simply. responding okay i feel it is a. individual homie yeah this person has been. helping me infiltrate I am not gonna. expose her call obviously we wont. divulge her secret identity. ought to I ask my buddy how do I. introduce myself and that they suggested hello i am.
Call and im from and then your final. bias is your ultimate bias is jungkook. hello i am Sophie and i am from United states and. my final bias is jungkook and im. gonna try this white emoji that basically. teenager white females use this one yes . and a celebrity emoji very that is perfect. whats up Sophie are you going to the. video store on are they Tori now why did. I know this nutrition its aall over Twitter I. dont stand in even I would okay so I have. been off social media a group because of. exams and private problems. I noticed BTS in Hamilton in 2018 yet i would like. to purchase my mom this birthday current I. cannot certainly find the money for the two oh here is a. controversy reaches over mom and dad Eddie. day of the week mothers and fathers. jungkook gave delivery to me okay why did. you upload a different military to some of the. truffles in here most people right here Stan. BTS ok so this can be a organization to begin.
Controversy in now alright men. warning ok i do not take heed to kpop I. do not know what kpop feels like but. lets have a look at the reactions to a. debatable opinion ok its the. bomb GBH jungkook has been having. disappointing vocals recently I a lot. desire any other kpop individuals oh wow I. such as you already. what are they talking to me what the do. we love beets convinced or no longer what goes. on right here you supply off solo stand wives. woo. so its aactually much better than BTS. although nothing incorrect with solo. stands off did you simply call me a . this is sort of a bar battle dude thats. like a goodddamn bar fight no I called. them why are you getting all up. in my face limo simply I was okay . you are saying then nevermind this army cannot. examine lm foul excuse me protecting you. commute you annoy become actually. defending you maybe if you knew the way to.
study perhaps if you stand genuine talent. sis not my fault your mind win blunders. for or for Sophie ask for forgiveness Im sorry. that yall havent got a brain shes just. stand genuine expertise are you 12. sure yet hes not Im simply gonna supply. setting pictures someone already left Oh. 3 spots a fancam i need to find a. pitbull fancam that is obviously ok I. stated loads of groups in those peoples. case taste thiis sweetie lime foul. justjust-just. ok i have to maintain hitting them with. the mr. global images I got to get. more pictures do my arsenal of pimple. has to grow stronger oh oh ok so that you. shouldnt have a bit combat of. Arsenals I see verify this out theyre. now not gonna expect thiis not one pitbull. two pitbulls. oh oh 3 pit bulls Oh for pit bulls. Oh 5 pit bulls oh seven pit bulls can. you stop sitting middleaged guys Im.
not interested people isnt fascinated. in you pal that is so unhappy i have been . kicked out of the sole group so in case you. apologize ok Im sorry its just a. board heavily should have done that. I will delete my tweets immediately and this. is after I hit him with the real she runs. to computing device turns on logs onto Twitter. deletes undesirable excursion hits. clenches fist that is not how a. metallic face turns red okay so begin. sweating pull please dont you judge me. anyways he is achieved ten movies due to the fact. it is performed 0 films actually whats. incorrect with her ok okay stop sending. your pictures you know what Im sending. 4 images of mr. Vin Diesel were. having battles of images of kpop video. victors its the smartest thing ever all. right no okay here is Eddie unique. artist well I better send mine pal this. is how the true global works alright oh.
This individual really went into my DMS to. send me pictures of this one artist all. right thats how they need to play lets. play dude I will move all Vin Diesel. all night I dont give it look into this. guy the bald head you could simply slap it. man you may simply slap it theres an. underground artwork is that no one whove. ive requested listens to you thus far am i able to. please proportion with you guys. Sophie please percentage yes okay my sister. used to imagine Vin Diesel the rocking. persons paintings good thats a gaining knowledge of of. this night its real they are an identical. person see what the hell whats the. change the other cult began. bashing on me beating my ass and i ship. these persons pictures of pitbull and. they do not mind thank you guys and never. getting mad at my bald guys pigs that is. wonderful nice you recognize thiis this changed into a pleasant. group wait did i get one kicked no no I.


5 Discord Audio Settings every person should Understand !!
regularly after developing voice meter. or equalizer apo. a number of you have outlined that you have. issues with. discord and a lot of the days thats. in fact concerning. settings within discord the audio. settings in discord. generally it defaults to having a few. matters. on that really shouldnt be on or. mostly you guys. move in there and you overlook that you had. became things on like echo cancellation. and whatnot so this goes to be a. rapid video on. what youll have established to your. discord audio settings. lets take a look if you end up on discord. in case you go to the bottom. left where your call is you can visit. person settings and. below app settings you will find voice and. video in voice and video youll have. your input and output device. commonly as an entire i imply. selecting the default device as your.
enter. and output device in this area as you. can see right here i have in fact manually. chosen my. microphone the enter device that i need. on. discord very first thing well take. a inspect is the input sensitivity if. you turn this. enter sensitivity on it will. immediately investigate. input sensitivity this is actually um in. a sense. a noise gate filter out so if you switch this. off what you notice heres we have a. slider. at the left aspect of the slider we have a. yellow side and on the correct side we. have eco-friendly. the yellow part of this meter is. correctly. muted audio so if i were to show this. down itd set my noise gate down at. unfavourable seventy five decibels i desire to move forward. and just maintain this at damaging 62. to be. honest with you i have already got a noise. gate filter in-built equalizer apo so i. could might be turn this all of the way.
Down. and iit wouldnt matter but for your. guyss sake this is aa great way to dam. out background noise from coming in on. your microphone. specially on discord what you are able to do. is simply monitor the. audio of your microphone devoid of you. talking into it and just block out. every thing thats stoning up. at the meter here usually its going to. perhaps sit right lower than unfavorable 60.. keep in mind if you have to go too excessive. your voice will be cutting. out and in of the audio scrolling down. to the advanced section. we have a noise suppression made through this. firm referred to as. crisp it suppresses background noise. out of your mic this. is in beta it truly is reminiscent of the rtx. voice. ai that came out recently as you men. understand. i mean just creating aa legitimate. noise gate clear out and downward expander. in your mic. there is not any purpose to apply the noise.
Suppression within discord. if you just set up a suitable noise gate. clear out. for your microphone there are. selections to this besides youve. realtime noise suppression that can be. established. as a filter out and setup in equalizer apo. you have the reaffir. plugin that i did a video on lately i. will link it. in the description under as an entire this. should always be. off down under voice processing we have. echo cancellation. and noise discount thats wherein things. get. slightly iffy echo cancellation and noise. reduction usually. creates like a warping effect at the. vocals. typically it can cause your your vocals. to get roboticky. and staticky if you are using voicemeeter. and that extra further processing. on top of the already processing that is. being applied by means of. voice meter may cause some issues there. these should definitely be.
Off constantly i dont uncover them. necessary to switch on. i do not certainly see a time wherein it is. necessary. for these items as i said earlier than just. establishing proper filters for. your mic is a much better manner of going. about this yet lots of people have. issues. with regard with you recognize like telephone. settings things like that youll turn. on. um sure audio settings if you are. utilizing your cellphone with discord and that i. might see in a few circumstances where. this can help automatic acquire. manage is truly as much as you that is. going to try to gauge. wherein your audio or wherein the amount of. your microphone is going to hit so it. will either. enhance the volume foil or lower the. volume for you automatically high quality. carrier you want to allow this setting. here so one can have a higher. priority on your discord.
people searching for products over the web some some . cyber web vendors may need a few. issues with this or information superhighway prospective buyers. might have concerns with this. that again this placing goes to be. as much as you generally having it off is. maybe how to cross. yet when you are popular a common consumer. of discord ill see. a case in which you might want a higher. priority. for discord audio in case you do a good number of. calls or. you recognize youve you do enterprise that. manner um ill see where this could be. beneficial attenuation is actually going. to be like a vocal ducking or a facet. chaining with the exception of it is whatever that. youre going to pay attention yourself. it will decrease the volume of other. purposes. by way of the share which you set whilst. someone is talking. so you can have it attenuate different. quantity levels from other assets like. your song or browser audio or video game.
Audio. while other people speak or once you. communicate with the aid of the settings right here. usually i would assume everybody to. have the attenuation. set to zero because thats form of a. unusual thing to establish for yourself but. in case you were attracted to what this. placing does that is what it does. it is going to correctly decrease the quantity of. other resources when someone else is. talking or if youre talking. looking on the setting that youve. the audio subsystem generally your. gadgets will actually. fit issues with discord a. lot of you men run into this. problem where there is a compatibility. clash involving this device. and discord itself you can just under no circumstances. appear to get it to paintings. properly within discord what you can test. doing is switching the audio subsystem. over from widespread to legacy. or vice versa and that might resolve.
The clash. with the compatibility there the last. area here is voice diagnostics. dont really want to dive into this. genuinely youve 3 settings here one. for showing. a warning while audio is not being. detected from your microphone. you have use the most recent technologies to. catch your display and use an. experimental solution to seize audio. from. functions entire these are all of the. settings that youre going to run into. with discord if youre having an issue. with discord after constructing. voicemeeter. equalizer apo this is a good video to. visit or if your mates are walking. into any issues or do not know what to. set up. within the discord voice settings this. video is an effective. video to reference i additionally want to send. you guys over to the equalizer apo video. that i recently did take a look at the. new preset file that ive.
accessible inside my discord server and. additionally just check out how to set up. all these audio settings to get your. microphone sounding. good that is going to complete this. academic guys i realize it was a brief one. dont fret im gonna be making it up to. you guys i am engaged on. redoing the voice beater tutorial so i. desired to knock out a few quick videos in. the interim. so i had time or a little bit of wiggle. room as a long way. as working on these movies because. they are gonna be. large ones and take a number of time if you. men have any questions. after looking this video you recognize where. to head my discord server hyperlink is in the. description. less than if you like this video do me a. good hit that like button and subscribe. for extra content material like this. and iif youre attracted to investment this. channel and my discord server.


Building a Discord Bot using NestJS - let#39s pair software
Ok hello everybody weve got one minute to. cross i presumed lets simply begin im all set. to move. and im extraordinary excited about in these days um. from sincere evaluation i have had rather a protracted. day its been excellent do not get me incorrect. so im a bit sort of you recognize. tired so. i know youre all gonna help me uh work. on this task together and im rather. eager because. eddie bot has been taken offline it had. a few quandary i had a short appear and i. couldnt comprehend what become incorrect with. it. so i presumed well eddie bot become just a. prototype i needed to replace it. i did see that nest js which were. constructing our api with has a terrific. um library that permits you to write. discord bots with it. and yet you get the big benefits of. an sjs with all the several. hooks and guards and just various. marvelous stuff. so i thought it would be relatively interesting.
To look at that so youre gonna. see me. uh start it from scratch today and maybe. struggle. but dont worry uh carl who is on radio. eddy with me. or aka julian um he has completed it already. and uh let me uh allow me bring up uh. carls github web page. so youll discover kyles girl page plenty of. green squares. recently in the last style of couple of. weeks that is exquisite which is amazing. it is fantastic after which if we scroll. down here allow me make it slightly. 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 completed it yet i want to profit. the way to do it so i thought. um i will i will begin from scratch and also you. be aware of we can all do it together and dont. forget we do have. the stargate repo which is already. deployed to kubernetes. and has already obtained all of the tokens for.
Discord so we might be able to get this. deployed at present well see. how we get on yet yeah deficient eddie bot is. below the weather. and isnt working immediately so how. is everyone in the chat seem. uh say hello in the chat it is um marvelous to. see what you have all been as much as at present i. wish you have a very good week it is the. weekend which means a good number of open resource. and weve uh prathamesh has already. first at the mercy red changed into second carl. turned into 1. well i used to be second yet you recognize i do not. count um. sassy adithya magnificent to have you all. here lily. jason long time no see jason karuna how. you doing karine i am hoping youre well. mikey very long time im hoping work is. going good youre not operating too hard. felix awesome to have you all here do. say hello. to each other and alright thats. collaboration not just with me but. among one another develop your network and.
We can all be taught from one another. so thats awesome uh okay. and and uh sure we need um. eddie bot or alex alex js and ii think in. the chat so persons dont say good day men so. a lot. um so certain marvelous to have you right here lets. get started so. um actually you recognize what earlier than we. wager coding i want to start thiis right. from scratch. youll find ive got my terminal here. ive like carried out nothing we are able to do. every little thing from scratch. uh let me um say hello to carl whos on. radio eddie and carl can give themselves. a shout out maybe talk about some of the. things theyve been building. at the api for our community is going to. underpin. our live movement kind of you know stay. map in which all your destinations are which. we had a prototype earlier than. and also the discord bot so carl the way you. doing hows your week been. i am completely satisfied to have weekend now uh im.
best. awesome correctly permit me convey um discord. over right here so everyone can also see that. besides at the live movement. cool sure the weekend is here that is well. so i am hoping youre gonna have a destroy and. you have performed a great number of coding on our api. um this weekend but im hoping youre gonna. so this week im hoping you may have a destroy. in addition. oh i its aactually really uh enjoyable i. relish. coding um for this assignment awesome. thank you okay that sounds cool so i. want to get started so my. my first suggestion and i am might be going. to make a few blunders yet. um you know i am i am confident between. anyone we will determine it out. ill go into my repos listing. wherein i create all my repos. and truly allow me additionally drop. um carls github in the chat. or go provide carl um a comply with. carl has no fans on github ill. be the 1st and hopefully youll get.
some more to boot. ok so this is how we will do it. i feel the very first thing that i ought to. possibly do first. is create an sjs assignment so lets see. how this goes. an sjs documentation well vicinity to start. um ive needed to play with a number of. little bits in sjs. and as our apa evolves ive been. studying lots about variety of guards and. middleware and all remainder. i like it how i needed to play with. websockets how you will get his live chat. operating certainly quickly. and theyve genuinely thought about this. framework it is all constructed on convey so. its kind of probably constructing on one. what all of you know already so do have. a look at this im very very impressed. with it. so first steps its might be a good. vicinity to begin install it globally. i feel i possibly obtained it create new. project. hmm create new project i am going to just create.
a brand new project for now. i need to add it to an existing one to. get it deployed but we are able to fear approximately. that. later so permit me create a new task. what should we name it. uh i will just name it discord bot um. okay its new lets cross wait some . seconds. npm or yarn lets opt for npm i like. vanilla preserve every little thing vanilla as. possible. um lets have a look uh. koalaa happy hubbers yes precisely comfortable. hub turned into all. and uh adithya um why unhappy . i am hoping i stated your call correct have. you no longer sad due to the fact i mentioned your. call wrong. lets uh lets examine everybody looking. dont forget provide this video a thumbs up. certainly facilitates uh assist the chat. lets placed the chat we have aid. channel thats not a superb begin. okay we do the failing sounds should be. a failing sound yet people on radio edit. you cannot hear it.
Uh lets have a look um. okay uh okay so its created i believe. were well so now weve created lets i. always 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 we all like vs codes. so lets bring this over right here so you may. all see it. and ill make it way bigger there we cross. you all recognize bs code i am certain okay. so what. next lets have a look she created it. okay so now i want to truly perhaps. leap. directly to the um. uh the what do you name it the package. that were gonna use for an sjs. to create discord so it says. installing we need to. install these matters and weve used. discord js before. so the only extra type of new one. to us is the. nest js version so lets take a look so. lets just install that. npm set up lets pass so to date its been.
All a replica and paste. lets have a look um. oh what we obtained in the within the chat um. two followers incidentally awesome thank. you so much that is awesome lets get. lets examine if we are able to get carl to ten. followers at present. thanks oh i see thats why karuna. thanks so much correct i i am not the. the sharpest toy in within the within the field as. the expression says but queen is asserting. yes uh adithya probably unhappy due to the fact no. fans. i agree i was sad too lets examine if we. can get double figures. amazing ok so now we have set up that. lets have a look at what subsequent. i am already stuck no im jokking um okay. so subsequent is saying weve i will have a. token im able to grab a token that ive got. earlier than. im able to grab a majority of these ids ok. marvelous lets just get. hello international operating and see if we are able to. see that appear in in discord. so exle of making a dynamic module.
With config i guess it has one of a kind. methods to do this uh carl did you know what. the variation is among those. other ways so youve got. four routes after which youve got four. direction async so async im guessing its. gonna attempt to preserve loading up the. task when this happens in the. heritage. so is that more efficient did you know um. to be honest i didnt determine whats. different. myself um i think if you employ um for. route async. you may pass um one-of-a-kind people searching for products for. instance if you have. um the token into um in the dot. n dot enb dossier um you can circulate. you could inject the config carrier when. creating um. the module um. thats the use case i see okay um in my. repo i. did it um with surroundings. variables ok um i didnt do it um. the style that i hard coded a token into. the use manufacturing facility technique. um should we have a look but i think.
Its its it is only a option. lets have a look and we can actually. exhibit people um which. dossier will be a module. okay yeah so you allow me take a look yeah. youll have to have the youtube open. um as a way to see it its in. in my repo it is in a bot folder and then. um thiis called config service. discord config oh not the spec discord. config carrier. got you i see okay and there i. injected um the config services the. config carrier um which reads the. env dossier i see. ok obtained you okay that appears quite relatively. smart. okay im gonna try to hold it exquisite. first rate easy. um yet i can not put it in that dossier yet i. do not ever want to see on the live. move all my tokens. so i should have something i must have. notion this earlier than. what does uh um everyone 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 walking on. extraordinary microservices on github so. no matter if you get a lot of fans it. might not take monthly 24 hours to. in fact update to what the realistic. numbers are okay so i am attempting to imagine. ill do this and ii could you still. use the config i cant inject youre. correct i see what you mean i can not inject. the config service to get them out as. surroundings variables right. ok um what you can in all likelihood do. um im not really certain if it works is um. reference. technique.n straight im not using the. yeah um the config service this can paintings. yet. uh not no hundred percentage guarantee yeah. no its good lets test it lets. test. um so we are going to all gain knowledge of anything new if. it works or if it doesnt. so the um wed do this for now.
Um but it isnt something that id. form of commit and did and install yet. anything for locally simply. for uh evidence of suggestion i believe works so. if i go to. the discord it is a discord module but to. the the module. i am not gonna um do anything. i believe carls project is far better. look into that for uh reference. but i am just doing this as an exle so. lets have a look. whats their bot gateway as well. can i click that export bot gateway. um lets take a look. shes executed a bit of research earlier. here we go heres the gateway correct ok. so. on all set event ready log it okay that. makes sense received you. okay lets take a look in order a standard. developer. ill do numerous copy and paste. so we have module weve imports. um so it will be an import um. lets have a look so its discord and.
Sjs lets replica . that import at the tip. okay and then i will seize. this import i feel its. there there we pass so. due to the fact we wish to keep the import array. and we paste that in. that looks you recognize not too undesirable oh not. dot. comma everybody following alongside lets. have a look and spot. so um that isnt blissful ok that is simply. the. uh the missing trailing comma. ok magnificent the others have it as well. so in fact that is an development persons. could make to the documentation. in case you appear this ones the the last one. it has a trailing one. um this ones the last one has a. trailing comma but this one does not so. when you replica and paste this you get an. errors. so let me um share this task of. everyone. in um. within the chat and someone can enhance an. predicament and truly raise a pull request. and so you dont when you copy and paste.
this instance you dont get an error. correct lets have a have a look um. weve some questions in the chat. lets have a look uh uh aditya. says such a lot of left tabs in vs code. what are these oh these ones down the. aspect. ah okay well query so. i need to control discord as well. make sure no ones elevating their hands. to to come up. in case you do allow me understand within the chat so um. the tabs okay received dossier thats the same. as everybody elses i think search the. equal. what is modified to the resource code um i. shouldve executed a dedicate earlier than i started. making adjustments to this i necessarily do like. an initial. form of dedicate i might do this now and. then. this one is the debugger then it is the. distant. this one remote explorer i was just code. areas its for code spaces. its the plugins so i have all my. plugins installed.
Um lenses get lenses which simply gives. you an perception into your. form of your your project and stuff okay. lenses just got eliminated unsure what. occurred there. uh live proportion uh to do studios is truly. beneficial. um once you kind of put i admire this. due to the fact persons simply placed todos. anywhere. and then neglect that they they happened. and that they move oh well. you recognize but now i will get a catalogue of all. the todos which have. regarded within the project and i can just. visit them immediately. and simply pass and attach them and clear up them. or if theyre obsolete simply get rid of. them so i actually that is like one among my. renowned tabs. totally suggest having that uh thats. azure it is i take advantage of this for i. think because you should use the azure. carrier to connect to a database. yet i dont use that anymore id. in fact remove that could i uninstall it.
Um i can most likely just eliminate that uh. lets see this ones a new one whats. this one. one hundred days of code yeah i do not use. that one much anymore both what. else have i got down here docker and. code time and mongodb. i might be ought to type that up um. theres a lot there that i do not. in fact use. so thank you for putting it out so i like. everyones questions. uh i havent seen these tabs in vs code. uh. i paintings with yeah i have further them on and. i might be dont want them all. yet allow me understand which ones you will use. out of those not really too many. stay code share is advisable lets. uh. lets have a look um. whats the reason for using typescript. with nest uh nest by means of default. uses typescript and typescript is simply. freaking marvelous ask nick. when nick arrives shortly you will see. that typescript is amazing.
Um lets take a look okay so i desire to. do actually i will undo this for a. moment im just going to form of. so allow me do an undo and it is usually a. well concept. undo that after which ill put it aside. and iim going to do a dedicate so if i do. if i clear my console. and that i do a standing i have all of these. i think theyre all safe to commit i am. simply checking. they are so lets do um a get advert well. upload them all so now it will likely be. we will do a catalogue returned you could you can. see all these i do know what some of you. are announcing you are announcing eddie. why are you now not using uh vs code to do. this i am just so used to the command. line for doing this. uh okay and then im gonna do a commit. so i am gonna say preliminary nest dedicate or. anything like that. so um and then function initial. nest js project simply so i do know that if i. mess whatever up im able to just revert returned.
To this so ive committed i dont even. ought to push it. it is committed and that i want to redo what i. had right here. um there we cross so i have reddone what ive. got here so i have this back back. ok so those tokens definitely do not. paintings. what we will attempt to do is as. carl recommended and simply use the method. um and then im gonna i can take my. terminal. off the display quickly and set the. surroundings variables for the tokens and. then bring it returned. so uh lets see i believe the guilds enable. and deny is okay and. allowed commands and and so forth is. quality web hooks i do not believe we want do. we want internet hook id and token i do not. assume we do. i might be incorrect i feel the sole. obligatory um homes are token and. command prefix. the rest uh is okay lets. uh remark all of those out if i. keep in mind in fact. that sounds well no quandary we will try out it.
So i desire to use yet another command to. everything else so that we know we are. just targeting this spot. i desire to use percentage which isnt. anything we would use if and once we install. it. yet um lets uh lets take a look. oh what is an sjs okay remarkable query so. thank you very much for the the question. uh elusive code. so the question is the question is um. permit me increase your question at the. screen i should actually get extra um. organized at this i get over excited. with coding. etc so right here we pass good query if. i have. neglected any questions im over right here so. i am nonetheless here. if i have missed any questions you only. style of wait a couple of minutes and replica and. paste it lower back in. so subsequent js i want to explain this. actually it is constructed on top of. um convey and its. used for construct it is a frame of creating. apis and its motivated.
with the aid of angular dont run away and get scared. but which angler changed into prompted by means of like. variety of spring. so it is certainly form of that framework. mentality its very nice you have got a. lot of equipment there all set for you. http purchaser you are able to do that you need um. cyber web sockets you need guards you should. shield you need to sure. middleware it is its got various it. built you need a logger as i found out. the day gone by with carl. when we were talking about this you need. a logger it has got a vanilla one inbuilt. certain youll upload extra to it and. customize it yet its got a great. place to begin for for everything so. thats a. really useful query im hoping i. did not omit any others im attempting to. have a skip and have a look um. pr discord.js sent thank you. oh awesome pleasant okay. so that you despatched a pr to that project. and deserves a shout out thats a eco-friendly.
rectangular for you and uh. thanks a lot for doing that thats. magnificent. since you recognize i saw it as a kind of. squiggly line and ii thought correct i do know . it is only a comma. and iit is just a comma and ii know a lot. of folk say i should not make. contributions which are just aa space or a. comma. but if someone copies and paste that. like i did the exle. code into their task and that they see. this underline or they run the assignment. and it fails. they move oh it does not work they dont. recognize that whatever. um is to whatever simple they might not. understand if they are new to. that kind of project or even new to node. and pritier and linto and all remainder. so i believe the exles ought to be. bulletproof and should. work so certain whatever like that. obviously send in a repair is actually. certainly important. have you found out new javascript.
Libraries fastly i havent checked out. fastly but i have heard persons you recognize. speaking a few lot. what issue turned into to be raised in the repo. i believe it bought raised already. i think so uh aditya beat you to it. adithya sorry my bad theres a. uh its very very small on my on my. screen down there yet there is an additional. letter. um i have no assignment okay son. kara. really wants me to respond so before we. get into the coding allow me. study this question all of you. feel free to reply in addition. it is splendid for everyone to have. distinct views i dont have any. projects achieved till now but i know html. css js python. and also have no git repos to do. please inform me what to do. create a git repo im sure you have got. those aside tasks create them share . them on github and join us on discord. and youll simply style of snowball from.
There. it is uh you just got form of you can not. exercise session at the health club. if you havent style of long gone to the gymnasium. so visit the gym after which. attempt any exercise and then you will you will. you will find much more workouts on the. gym that you can do in machines that you. can use. um and uh dtr says already replied so. with any luck that facilitates i admire seeing. one-of-a-kind. peoples views okay eddie sufficient. speaking lets try and do a little coding. um right so this one we will say it is. approach dot n dot. allow me see what i call it in any other. assignment simply. so i cant i wont oh do not imply to. area that what am i doing. um im gonna open a terminal over here. just so i can get the token but nobody. inspect the other terminal. you cannot its aanother display screen im safe i. assume i am well. uh and permit me just get the the call of. the token so.
hopefully it should be best. lets have a look um you know what i. could do i could start ive got. an easier notion i know how to get this to. work ok everyone bear with me. dont be concerned all is nice we are we are able to. paintings it out between us. so if we go um. lets have a look right so ive got a. outstanding concept i desire to convey this terminal. over to a different display and iim going to. start the assignment from there. and then any other instructions i run i will. run in vs code. i know you all like vs code and so on. so uh allow me take a look but then im able to. within the command when I run it like i pronounced. its aan environment variable so lets. have a look. lets do it so to start the assignment i. must have began the project actually. earlier than i. even put this in in fact there is. another thing i ought to accomplish that what i. would in fact do is undo all that again.
And returned human we should always verify the. task works earlier than. we attempt to customise this it truly is lower back. to what we had before. and lets begin run the task so if we. study the documentation. the project is likely to be npm. run start but lets. double assess and spot. what it says first steps set up it it. tells you what. files get created i admire the style that. it does it npm run begin. so i can do it on the display screen so you can. see well do. npm run begin after which within the browser we. should have a hiya global api. that is how simple it is to get an api i. have gotten a video in this uh going into. extra info i posted a couple of days. ago on wednesday. where we actually get data from githubs. api and merge it with information that we have got. in the application. so thats up and running lets go to. localhost or now not nearby hack day.
I believe 3000 and you will see its very. small um. hiya global so we all know that works okay. awesome so allow me take this off screen. let me positioned the um token. for discord and lets have a look. um after which with a bit of luck. npm run begin. so the assignment should run again and we. should see. no change all should be well its up. and jogging you can believe me on this. and so if i reddo this. and the name of thats discord token no. surprise there. and you mustnt see it and we arent. utilizing these so lets just leave these. out. i like vs code typescript all this. awesome stuff. ok so hit save the assignment should. restart. it did not i dont know why allow me start. oh no theres a dev mode aha theres a. dev mode for the project. so if i return to the documentation and. i return to. cli over in case you let me investigate i do. remember seeing.
Uh yeah npm run start dev so it watches. for adjustments thats what i should have. executed npm. run begin dev. still with the token im tremendously sure and. if i visit localhost 3000 returned. no longer localhag day 3000 is still up and. walking. you can not see the token thats first-rate. right permit me atone for the at the chat. permit me see what i what i neglected. um oh chats going good magnificent i admire. it when you all ask questions and chat. between one another its aawesome. uh what did i omit i dont keep in mind. where i got to uh what is sjs we did. talk about that. uh alicia raised the pr. um thank you for explaining next uh it is. ness js sorry no longer. subsequent js so nest js is an api framework. subsequent js is a framework for the front conclusion. for react. it does have some kind of backing. functions but its very light contact. i did have a look into that yet yeah if.
you desire a proper. api id opt for an sjs. and you may get up and walking as you. noticed actually in mins. yet no hassle okay cool. lets have a look. um. uh sankara i already responded your. query i feel some people did. to boot. i used to be a typo thats pleasant okay cool um. good thanks for clarifying okay so we have. acquired this up and running lets examine if we. can get hi there world working in. correctly in discord so lets see so subsequent. factor we need to do. is weve this i think this looks. well i do not its walking there isnt any. errors within the console. so the next element we do is utilization so we. must create a bot gateway dossier. okay i suggest we are able to do this and duplicate and. paste that during sounds good. ok um i do know carl has completed it in. specific module thats. a nice manner of doing it i desire to maintain it. lifeless lifeless simple for today.
i am just attempting to do a spike to see if. going ahead might i write a discord. bot with nestjs. um typescript ok lets have a look. paste it in. we are able to do slightly formatting. there we move okay um. keep that and its going to load it lets. take a look. and see. ok so it should oh good ill. upload it there is one other thing ill do uh. the assignment doesnt understand whatever about. it yet. i must add it to. um to the module rather certain ive missed. that step. lets take a look probably as a. provider yeah i am trying to search for the. documentation on it. but theyve sort of ignored that step. i have all have i neglected it. permit me see utilization um yeah so that is the. gateway. it makes sense and you can use the. purchaser decorator ok that is quite. interesting too there is two ways to do. it you could do it for carrier. or you can do it with a decorator ok.
that is good to know. um i suggest both look nice and an analogous to. me. after which that is for receiving messages. so straight away theyre on to the subsequent. type of discord bot listener so in fact. youre right they havent. theres another development to this. assignment allow me proportion the link to this. assignment. i believe i shared it already but im. going to share it an additional time um. boost an issue that and do double assess. that i am. and this is right but it seems like. once they provide an instance. they do not upload it to the module file so. returned. you recognize we can i may have figured. that out but carls obviously assisting. me that is making it plenty easier i. love pair programming. um yet you recognize someone is doing this by means of. themselves they may get stuck on that. for like three hours. whereas you know a few lines of. clarification or code or exles could.
Simply assist them make it plenty simpler this. is why. it is so important for everyones. initiatives to get people to look at. it due to pop over to this website the fact. they wont be aware of the certain things. which you recognize when you make assumptions. so lets have a look so. its bot gateway and were going to. add it to providers weve got app. service which is nothing. that is was auto generated by using gateway. and if i hit input. lets convey this up somewhat it. ought to get immediately further on the. top. yeah we have at the end so lets hit. keep and. the console i ought to be capable to um. show you now since the token is hidden. thats well. if it would not get hidden i will be very. disenchanted. yet no it i think its hidden ok and. we have an errors so lets take a look. lets debug it all collectively. so lets have a look so locations cannot. study estate send of undefined.
On on ready in bot gateway line 23. so lets have a look good okay 23 is. javascript so. we do not have the uh the mapping so. we are going to simply uh understand that were. searching for on all set. so on all set changed into asserting um. send okay so we cant this doesnt paintings. okay have we done something wrong or. have we found another trouble. um within the task lets have a have a. seem. good maybe i did something wrong permit me. assess. so when I use this and iits got. a typical in it does it got imported in. sjs we have all of the imports. noticeably sure i did precisely what they suggested. ish. i believe it obtained the mistake um i feel um. within the app module where you initialized. um the. discord module and you did not provide a. webhook. url and that is why he cant discover get he. cant do get webhook. purchaser and thats why send is undefined. oh i see. okay so if okay well point.
Well well observed yet i feel you could. simply delete this line i feel you dont. need this. this is in case youre using uh internet. hooks right. okay so it is accomplished another manner i. wager correct it is achieved. can anybody simply get client yeah it may. be finished we get clients. okay oh yet there is not any ship on there. okay. good we are able to see we are able to see if we will get. a log correct due to the fact it is going to give. us the user tag. and all remainder so lets simply undo this. for the moment. and return to what we had comment this. out save it if i increase this. it should reload excellent no errors this. time. and it does say logged in as eddie bot. so. it works it is related to discord so. maybe the next thing we are able to do. is get it to pay attention for a transformation on a. command. so lets and were gonna have got to come. lower back to that because we do want to ship.
Messages to discord still. so lets have a look um ok. create a handler for receiving messages. by means of the field i love it how its simply. broken down into. different documents you dont get these massive. files necessarily problems it is all variety. of. taken care of for you okay um. lets uh lets take a look so i am just. gonna kind of reproduction and paste this back. dont do what i do every person and theyve. referred to as it bot gateway lower back ok so. they have put it in an analogous file ok so. we are able to positioned it in the same one. because its another set off its. going to be um. an on command ok lets seize that. positioned this right here what have we got so on. command hasnt been imported. we should better just pass import i think. its appended it up there. pleasant message would not exist lets have a look at if. it can determine it out. and do an vehicle import besides excellent it.
Has completed. all of it seems relatively particularly joyful so what. we expect. is when it starts. uh whats message come from and it gets. a message so permit me simply study a few. i didnt examine this but im guessing. begin so thats the command its seeking. for im guessing. i think we should do it on permit me see. what will be what will be a great that. i think i saw on a good instance. that would be greater i dont need to do. on every message i am looking you i did. that i believe when I changed into having a play. with anything as soon as and everyone had. someone wrote a message the bot become just. spamming everyone so you wont do that. lets uh. lets examine allow me catch up with the chat. while you are having a having a examine. band sal are you able to tell your different uh. channels that supply open source content material. and instruction. um to not every person touches on it i believe.
Yet nobody surely specializes in open source. like myself. so um but ill have a look ask and. discord and we are able to we are able to. ship you some a hyperlink in the in the. description less than to the discord channel. and we can chat to you and discover some . other folks yet were already discovering. a few insects in this in these days so. hopefully someone has raised the problem. that uh what turned into the difficulty oh certain including. it to. um the module oh but they do upload it oh i. ignored it if we glance. um providers bought gateway oh thats. due to the fact. sure they did upload it formerly okay so. they added it before. and that i went immediately directly to usage and so. it is a bit weird including it before but. the file would not exist. i would have done it somewhat. in a different way i would executed it like a. proper circulate. but you know its it is there i just. imagine. i would not add a dossier bot gateway to the.
Module until i create it i always variety. of create the file first i dont know. what people imagine um themselves. right in the chat what do you suspect. lets take a look hindrance raised. um ok cool. yeah deleting yeah do you i believe you. can the issue um. i even i will placed a remark let me let me. observe the issues and i can say. oh i found it so you cannot delete it you. can near it i think its. ive got upload comma at the top by way of jason. amazing and then i believe did you close. it already. um yet ill placed a comment and say oh. i discovered it that it became further up and so. forth. um if that is if that should be the. case i am completely satisfied to. to lower back you up on that due to the fact i. recommended you to raise it and it was a. bit difficult the move um. wasnt wasnt awesome um so ok. and ii wasnt interpreting it when i was. speeding by way of ok.
Allow me recognize inform me the difficulty wide variety if. youve uh have. examine it copy and paste uh is ok as a. developer ill create a assignment by using. basically reproduction and paste to create whatever. it is going to be fun and iimprove my examine. talents your replica and paste is nice to. begin with. um yet i think you must. recognize what you are copying pacing i. suppose once I reproduction and paste. i just go out it works and just style of. do it when I once I sort it out i. actually. assume more approximately it so its kind of no longer. first rate but i am just attentive to time. just i desire to eager to get whatever. working and to just get. my target here isnt to actually realize. every thing is to get whatever working. to determine if. if theres something we should use going. forward so it is almost like a spike so. i am going to cut quite a few corners. besides i also have a question for.
Everyone and perhaps for carl as well. who i do know has achieved nest um js stuff for. um much more than me is what approximately why. is thiis specific to discord bots so. in fact it is maybe no longer much of a. nest question. yet what about checking out a discord bot. since it it. does information superhighway sockets so i would have attempted in. the past to mock out the websocket. and ship the info that i desire to the bot. so that. um i will examine the reaction but the. predicament with thats once I um. ship the data again the uh testing. library variety of kills the connection. after which the bot just keeps attempting to. reconnect for all time to the websocket. and so it simply receives into this loopy variety. of loop. i ponder whether anyones verified any. websockets earlier than because thats always. uh. because its like an interesting. hindrance ok wherein was i. um correct what become i doing i was doing we.
Had a start that is what we had. execute command start okay i feel. that is it. i think it is going to run and carl might. understand more than me. if youre still round is that um i do. the beginning command iits going to reply. with this lets simply give it a cross so if. i hit store. ought to reload logged in as eddie bot. ideal. lets raise discord lets take a look. um and let me visit lets visit the bot. chat. and what was our uh with a percent i. suppose. if i do exactly experiment nothing ought to arise. oh youre might be behind my head eddie. its at the back of your head. sorry all people my bad permit me make it uh. deliver it up it is friday. bear with me its friday actually i make. errors like this everyday. so experiment as you will discover test is there and. um. no respond no comment not anything within the . console nothings transformed so the bot. hasnt finished whatever that is well.
So if i do percentage and that turned into our. trigger for our command. test i am hoping it does nothing back. nothing there. not anything in the console ok nothing is. good and now if i do. percent experiment begin sorry percent. start. im hoping something occurs either in. the console log or in the chat. lets have a look at it labored i suggest that is how. fast its to get. an sjs up with an api and a discord bot. i suggest that is distinctly rather rapid correct. so now weve. execute command percentage start so. accordingly we will do. so many other other things hypot. this is because correctly i want um to get. our api up so as to get the map. submit at the back of me and as persons work together. using. um doing contributions to open resource i. desire their profile to appear on the map. from github so i have so many cool. ideas with that so i maybe should. consciousness more on.
The api than doing those other things. but the bot. with the bot happening um i want alexa. js up a lot due to the fact i im simply so. tired of everybody simply asserting hiya guys. it is like not everyones a guy right here so. um definite so im eager to a minimum of get uh. alex js up on the bot and then we are able to i. can come again to the the api despite the fact i am. no longer doing a great deal on the api its. pretty much carl. uh ok oh sorry carl were going to say. anything. no no um okay every little thing exceptional okay cool. no issue um ok in order that works so im. happy with that. and so what one thing we wish to do. differently is. we dont need a command for alexa js. that is some thing we dont need we do. in fact desire a edition range. i do like having the the understanding what. versions are strolling so people can think. good wheres my function i. submitted a pull request to that um so.
Its uh it is sweet to have a edition so. what lets . might be do i will not get distracted with. that now but itll be well to have a. edition command. um but maybe i am going to just difference that to. edition and we wont carry out the. version. yet um we can simply remind us to place. that in so now. and that ought to be high-quality it should have. reloaded excellent. lets convey alexa alex js now not alexa. alex js so we need that to set off on. each message. so lets take a look what we are able to achieve this. if we go to the doctors i did see something. subscribe to the development. and we want to enroll in every. message and we are not likely to reply yet. we can take a look so. lets have a look if we i want to put in. an identical dossier for now and shall we. necessarily. uh separate this out later if you wish. um wed like the on. annotation and im unlikely to reply.
but when its not the bot lets do a. console log um. just on the way to see within the log console. and there is an magnificent oops not meant. to do this. there is aan awesome logging inside sjs. but i am not gonna do that today im. just gonna say um. lets log the message so yeah simply log. the message. message dot good i didnt see what it. turned into. it become as an exle what its. message dot um. am i able to get the content material of it no longer author. content material right here we cross. there we pass so should i see it optimistically. within the console log. that should reload lets return to the. bot. long time no see eddie but. uh yeah nest js spot. ok um right i am sorry there you move. see in the console. right no longer in the back of my head is it ok so. that is coming by means of so we all know for. each message. so somebody else can write a message in. the within the bot. chat channel and that i desire to see that it.
Also comes up within the console and its. not just from me. so i want to show proof to every person. and myself that it isnt simply me so. karuna nick jason an elusive code i do know . youre already there if you can write. yet

Leave a Reply

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