The Adventures of Coding a Discord Bot

Me starting to write the basic code of my own mining discord bot!

Everyone uses Discord, right? No? Well, quite the majority do. So I’ve decided to turn my game into a Discord Bot! Creating a Discord Bot seemed like a good way to spread my coding influence, so I started creating one!

The Beginning

I wanted to start quickly and add a lot of stuff! I asked some people around Discord for tutorials and one pointed me towards Dapper Dino’s Bot Tutorials. I watched thru majority of them not understanding much, but my bot was set up and I could flip coins and roll dice.

That wasn’t enough so I followed a few more and added the music part to The Kepler Bot, then I wasn’t sure where to go from here. Until one day on my “Recreating Discord Miner into a Game” video, someone commented or DM’ed me, I can’t remember anymore. But they suggested that I turn my Miner Game back into a Discord Bot. Then I started to think…

The Completion

So I soon realized I was programming in Node.js, which was real similar to what I was used to programming in. Known as processingJS, which was linked to JavaScript, which is also what Node.js was also linked to, basically a lot of the stuff I knew could be used here too, which I thought was pretty neat. I soon figured my way thru Custom Emojis with some help from the mighty SpongeJr, who has also created a bot that acts like a role-play game!

I started using for loops, if statements, variables, math commands (well those were a little different but I still got used to them) and a lot more! Obviously rect(); or ellipse(); wouldn’t work as I was dealing with Discord.js and that was made completely of text and emojis, so I had to think a little creative if I wanted to create a mining scenario. Soon enough there were a lot of files in a lot of folders and it was hard to get around. But there was a working mining system, inventories, multiplayer mining, regeneration of land, and plenty more! But I soon realized that the basic code that Dapper Dino provided plus my code didn’t work too well, and things got easily confused like there were two help pages and classes everywhere which I currently don’t understand but I assume they are similar to functions (Which they probably are not :/), so I decided that it was time for a full rewrite of the entire code! Well I’d still have the data separate so there wouldn’t be a thousand lines to scroll thru if I wanted to add something new. The reason I wanted to rewrite the code is I was trying to access the Client (Known as bot in code) variable from the main file, but the other files were in a big folder. So it would be hard to access a file outside of the folder. I spent half an hour figuring it out but no luck.

The Rewrite

Thru the day I added the necessary basics like for when the bot turns on, the message function, and the commando classes. The rewrite was going great! Everything was working out! I created functions for each of the commands, everything would sync a lot better than before because they could access the same variables which saves a lot of code! I decided not to keep the music functions as I don’t see my bot as a music bot, more of a fun and helpful bot! All of the commands work fine and the command I got stuck on one point now will work much better!

And even today I’m still working on the rewrite and adding more commands! Like finishing up the top list command, adding support to check each others inventories, trading, bonuses and possibly moderation commands! I’ll put the link down here to the second and third videos when they are released, but for now, stay tuned!

Don’t forget to subscribe!: https://www.youtube.com/channel/UCocmE7xT6REn0p1kBEgmz2Q

Or follow my instagram!:
https://www.instagram.com/thekeplerteddy/

Thanks for reading! Or watching if you watched the videos!

New Years Plans!

Hello! Here are my plans for the start, middle and rest of the new year; 2019! I’ve got stuff for Khan Academy Community, YouTube and my apps! Starting with KACS!

Khan Academy Community:

First off, Monument Food II, lets get that out of the way! I will be working on it at least 15 minutes – 30 minutes every day if possible, I will also be doing 1 Hour Live streams every now and then where I code this game.

Next, I will be entering a lot of contests because I like contests, I won’t be too active on here, nor inactive, sorta in between for majority of the year, I will probably go hard cold inactive around summer as I’ll be spree coding my huge game in Unity.

That’s basically it, I’ll try and release some good games like MF II or Mesh Dance and some remakes though.

YouTube:

If you have followed my instagram, you probably have gotten a post on my January Youtube Schedule. And if you subscribed to my YouTube then you would’ve seen this video above all of this text! If not, shame on you, here are links for my Instagram and Youtube

Things I explained in my YouTube is that I won’t be doing too many ProcessingJS tutorials anymore but a variety of tutorials for different things! Also Minecraft and Gaming are returning to my channel so expect to see some Minecraft!

I also want to thank you for 300 views on my video, Discord Miner! That’s pretty awesome! Be sure to watch more of my videos and subscribe! That’s it for YouTube, onto the last big subject:

Apps and Unity:

Whew, here we go. First off, once I get this privacy policy working (which will appear on this website), City Dashz 1.2 will be out for iOS which currently is only for Android as of right now, a follow up bug-fixes update will arrive soon enough as City Dashz 1.2.1 and could be out Late January or earlier, which will fix glitches like not able to buy heads. Stick with bodies for now, it will still probably take you a while 😉

Soon enough in February or March, Tumbl3 will get some Music and a port to iOS! Very exciting! Also we have 30 downloads of City Dashz across all platforms! Tell your friends about the game! 😀

If you want more apps, you’re in luck, my next game: Impact, is another dodge game where you have to dodge balls, collect power-ups, buy characters, shaking terrors and more! It should be out around May! You can play the Khan version here: https://www.khanacademy.org/computer-programming/impact-103/6272456781529088

Another app I’ll be making which will arrive in September is Farmee! A simple game where you harvest crops, grow your farm, fish, sell, cook special food, sell that, cook even more special food, sell that. Yeah that’s basically it, just an awesome farm game!

I possibly might make one more app around December 2019 called Snowboarderz, which is a game where you snowboard, do challenges, championships and if I figure out, you just might be able to play with other players online :O

I might also be making a Online Multiplayer Shooter called Planetz.io (which I probably should reserve the domain, gulp! If someone takes it I’ll be quite mad :P) Where you collect resources to build weapons and fight other players with ship fights, lazer fights, galactical adventures and galactical disasters! With multiple modes, this game sure will be fun! This game will be Website based obviously, and will probably most likely make it in 2020, but you never know, I could finish it for Summer 2019! 😀

Lastly, this is the big game I’m working on, called Monument Food: Shards of Hope, which is an Adventure/RPG, you can do 2 player co-op, intense battles and awesome story! This will also be coming out of the end of the year, I will be sharing the progress of all stuff on my Instagram!

Whew, that’s a lot of stuff! Also, I might be building a PC! Hope you enjoyed this blog post and now you have the stuff to look forward too!

How to pick the best CPU/GPU combo!

Hello! I’m planning on building a PC and I’ve finally found the right components! Maybe you are planning on building one too but there is one problem, the term bottlenecking!

A bottleneck is like a Syrup Bottle! Where you dump it but the hole it comes out of isn’t the same size as the holding so it creates a slower pace, Another example is trying to game with an i3-8100 while using a RTX 2080Ti GPU! The GPU is so fast the CPU has trouble keeping up producing a bottleneck which slows your work / gaming down! That’s no good! So I’m here to give you the perfect GPU / CPU combo! We have Nvidia / AMD and AMD / Intel CPU’s!

NVIDIA GPUS (1000 and 2000 series)

  • GTX 1050 – G4600 Pentium / Althon 200GE
  • GTX 1050Ti – i3-8100 / Ryzen 3 1200
  • GTX 1060 – i5-8500 / Ryzen 5 1600
  • GTX 1070 – i5-8600 / Ryzen 5 2600
  • GTX 1070Ti – i5-8600K / Ryzen 5 2600
  • GTX 1080 – i7-8700 / Ryzen 5 2600X
  • GTX 1080Ti – i7-8700K / Ryzen 7 2700
  • RTX 2070 – i7-8700K / Ryzen 7 2700 (Estimate)
  • RTX 2080 – i7-8700K / Ryzen 7 2700
  • RTX 2080Ti – i7-8700K / i9-9900K / Ryzen 7 2700X

AMD GPUS (RX and RX Vega)

  • RX 550 – G4500 Pentium / Too weak for even okay AMD processor
  • RX 560 – G4600 Pentium / Althon 200GE
  • RX 570 – i5-7400 / Ryzen 3 2200G
  • RX 580 – i5-7600K / Ryzen 5 2400G
  • RX Vega 56 – i5-8600 / Ryzen 5 2600
  • RX Vega 64 – i5-8600K / Ryzen 5 2600X

These are calculated with The Bottlenecker! Try your own calculations and see what you can come up with!

The Top List

Ah, the top list, the list which every single program is on, except that it is sorted by votes, which means 99.99% of them are at the bottom! Anyway, the top list has had many achievements, and a page is 30 programs each, the first page of the top list hasn’t changed, let’s observe.

We can see that the top three were created in 2013 then a lot of them were 2014 and 2015, there is only one 2016, 2012 and 2017 programs, there are no 2018 programs… One more thing I want to show you is the future of the top list! 😀

The Top list one year from now, unless another program gets banned!

What do you think? Obviously, the list couldn’t be more wrong, as even though the time-frame of the survey was 81 days, which the programs got this much in that time-frame:

Khanemon: 252
Doodle Jump: 242
Minecraft: 229
Mini Putt: 182
Escape Plan: 114
Duck Life: 102
Lava: 97
I saw Her Standing: 93
Mario: 88
Planes: 84
The Legend Of Zelda: 76
Terra Magma: 70
Infinity Hall: 67
Planetoid: 63
FIFA: 63
Cubix 2: 62
Cut The Rope: 60
Its a Big World: 58
Crate Ninja: 58
Doodle Dodge: 55
Transcolors: 55
MINI STIX: 53
iPhone: 48
sphere: 40
Flappy Bird: 33
Falling Pixel: 33
Zombie Invasion: 32
Redball: 31
HuskyCraft: 11
Flappy Bird (Kevin23): 11

As you can see, some programs have gotten more attention than the others, for example, three of the top five are on the top five themselves while the other two are programs that people really like because of the time spent on them, while on the bottom, Like simple programs or another version of a program that is placed higher on the list so this program doesn’t get as much recognition, as people are more likely to pick the first one. The top list has changed a lot, as programs go up and down, the farther down you go, the more difference there is over the days because the vote count of those ones are more similar

I think that is it! Be sure to subscribe to my blog and YouTube as I’ll start recreating some programs! 😀 

City Dashz out for Both Platforms!

Hello! We now have managed to get City Dashz out for Apple Devices too! 😀CityDashCapture1.PNG

It is sleek design for both pretty much!

The app is free to play and very addicting! It is a very good time spender! XD

Here is what people are saying!

“It played well for a while”

“This is cool. Maybe add a shop and coins?”

“It was awesome!”

 

 

CityDashCapture2.PNG You can get the game for Android at:

https://play.google.com/store/apps/details?id=com.KeplerTedStudios.CityDashz&hl=en_CA

or by searching “City Dashz” on the Google Play Store on your Android phone or tablet!

Minimum version is 4.1 Jellybean or higher

 

You can get the game for iOS by going here: https://itunes.apple.com/us/app/city-dashz/id1434101726 or searching up “City Dashz” in the App Store on your iPhone, iPod or iPad! Minimum version is 8.0 or higher

 

Future Updates

You, yes you, reading this post, get to see what I am gonna add to the app next and my other plans!

City Dashz

City Dashz 1.2/1.1 will feature coins and a shop, where you can buy Heads, Shirts and Faces! iOS 1.1 will also include Game Center Services!

Tumbl3

Tumbl3 Android 1.1 will be featuring more icons, bug fixes and music! And Google Play services!

Tumbl3 iOS 1.0 will have all of Android 1.1 but Game Center services instead of Google Play.

Future Projects

Ninja Bus will feature nonstop arcade action, based on a Scratch program I made, it is a collab with someone. Will be finished before the end of the year. Releasing for Android and iOS. It will be free.

Rush To Crush is another collab but with a friend of mine, it plans to be an endless runner with levels. It will also be free with possible in app purchases.

Untitled Monument Food Project is an unknown project based off of a program I made in PJS. It will feature Story, 3D, and multiple levels, I have no idea when I will finish this. But sometime next year. It will be available for Steam, PC, Xbox One, Switch and PS4. It will cost 15$ on Steam and PC and 25$ for console.

 

Thanks for reading!

Ted.

 

City Dash: Update #1: Booting Up!

Hello, fans! These are updates for my upcoming App: City Dash! I will answer some questions and add a few of my own!

First: News, News, News.

I have designed a silly poster for City Dash, it shows what the title may look like in the menu. It also shows a character you can buy (0.99$) in the first actual update of City Dash when released, this could come out in March. it will be called: 1.1 – DJ Update.

20171021_113304

Enough planning ahead though! I’m still working on Udemy, with Unity, I’m trying to walk through the tutorials, and currently, I’m making a Flappy Bird game.

I’m still wondering if I should give them all hair? Or just the Dj man? It’s your decision!

20171021_113319

Choose between yes or no, say in the comments of this post!

Second: The New Laptop

Some of you in the comments on “My Message” asked what computer did you get? Well, I got this Asus Rog Strix Gaming Notebook from Canadian Computers here. here are some Faqs about it:

  • Processor: Intel i7 7th Generation 7600K 2.8 GHz
  • Graphics Card: Intel HD Graphics 630 AND Nvidia Geforce 1050Ti.
  • Display: 1920 x 1080
  • RAM: 16 GBs
  • Storage: 1 TB (930 GB)

20171021_113335

Its perfect for programming and gaming!

Third: Minecraft Video Making

As you know I like making Minecraft videos! I use the free version of Bandicam to make them. Currently, I have plans for more How To Build videos as well as a new series called Kepler’s Builds. A long series where you watch me build cities, houses, forests, planes, roads, minecart rails, and whatever I desire! Treeliving is down for two reasons, One, not really much of a survival person, more of a builder, and Two, I lost the second video. So I couldn’t upload it. You can also suggest ideas in the comments of my videos! I usually play Minecraft in a smaller windowed screen, otherwise, I get headaches. but I play with Fancy graphics and View Distance up to 20. And my FPS (Frames Per Second) stays at 250 FPS. With Sildurs basic shaders, its 200 FPS. With Mr. Meeps Amazing Shaders, its 150 FPS. even with Sonic Ethers Unbelievable shaders, it still hangs at 80 FPS! I Can’t make any videos until around Monday / Tuesday because I have a Cold 😦

Thank you for your time to read this! 😀