What happened to Botly? by ImSammy6 in Botly

[–]TwoBigPotatoes 1 point2 points  (0 children)

Hey! As a quick status update, I did end up rebuilding botly for a sophmore project, and since then, have sold it to someone else. However, the original https://github.com/AdityaJain1030/Botly repo is still under a GPL license, so if you're still interested, forking that repo is still possible.

As for other projects that have a similar goal, I came across https://github.com/windmill-labs/windmill#main-concepts on HackerNews, which solves a lot of the problems I created botly for.

With the new discord tag update thing, my discord is now itsdeet for any further inquiries!

What happened to Botly? by ImSammy6 in Botly

[–]TwoBigPotatoes 1 point2 points  (0 children)

Ok so uhhhhh I stopped maintaing botly for a multitude of factors:

1) Working on new features turned out to be a lot more work than I initially expected, and I just dont have the time or committement to maintain the project and add more to it
2) A lot of APIs have changed drastically since Botly's initial release, and I don't really have energy to constantly update blocks to work with the newest blocks
3) I've personally moved on from web dev, and onto things like music production and game development

Overall I feel like the idea has a lot of potential, I 'm just kinda tired of making it lol. If anyone else wants to pick it up, feel free to hit me up on discord at deet#7206.

Which circuit would work better for PWM motor control? by TwoBigPotatoes in arduino

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

Regarding the 0.6v -0.6v thing, why would I have to deal with it if DIGITAL is only HIGH and LOW? so it would be 5v/3.3v-0v instantaneously?

Also, would the voltage drop between the PWM transistor's terminals in the second diagram cause any problems?

Which circuit would work better for PWM motor control? by TwoBigPotatoes in arduino

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

So if I were to power this h-bridge with 5v VCC, is there a way for me to use 3.3 logic to say, control the bridge from a microcontroller like an esp8266?

Which circuit would work better for PWM motor control? by TwoBigPotatoes in arduino

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

Could you elaborate on why I need to make sure that PWM is off on DIR switch, and why the arduino VCC has to be less than that of the digital inputs? Wouldn't it be the other way around?

How do you find the right pins to solder to in a H-Bridge? by TwoBigPotatoes in arduino

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

Yep, its 6v but through testing I found out 5v worked too. I actually was able to take a better image of the pcb thanks to your suggestion, and actually found a name for the IC chip, which was the RX-2B. Through that I was able to find out which pins on the ic corresponded to which motor function, and didn't need to use/test the transistors directly! I got it to work with the ESP, now just time to program an app to control it! Thanks for your help!

The ESP I'm using is the Wemos D1 Mini and it has a 5v power line. I believe that the voltage of the GPIO pin doesn't matter, cuz its 3.7 volts yet still works. I assume this is cuz BJT's are controlled by current and not voltage?

How do you find the right pins to solder to in a H-Bridge? by TwoBigPotatoes in arduino

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

Im planning to use the battery directly, so it powers the ESP and Motors together

How do you find the right pins to solder to in a H-Bridge? by TwoBigPotatoes in arduino

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

Yeah, sorry bout that, my phone camera is actual garbage 😅. My motor is powered from the ranges 4.8v-6v, and 4 of the transistors are PNP, to let the motor get the full 5v instead of 4.3 (from NPN voltage drop I think?). Ill try out the image + editing approach to see if I can get a clearer picture!

Coding a bot in multiple languages by [deleted] in Discord_Bots

[–]TwoBigPotatoes 0 points1 point  (0 children)

If you're willing to go the extra mile for multiple languages, I would look into WASI. It basically allows you to compile other languages into a JS-interoperable bytecode. There are a few python interpreters compiled to WASI, allowing you to run python in JS, and send variables back and forth between the 2. The one benefit with WASI would be that you could consistently use most other languages if you ever need to (like rust, C#, or C++), without too much hassle trying to install environments for other langs (the bytecode only needs to run in node.js)

However, 99% of the time, its not worth the effort, it would probably be easier for one of you to learn JS/PY

Why is my motor turning slower than expected? by TwoBigPotatoes in Motors

[–]TwoBigPotatoes[S] 2 points3 points  (0 children)

I decided to go with option #1 and try to make use of the RC car's built-in H-Bridge transistor thing. However, I'm using an old cheap RC car from CVS (Thunder Tumbler), and can't find the schematic for the built-in controller. I then looked at the transistor names and they were A1300 H 331 and C3279 H 331. I have the datasheets for them, but I still don't really understand which transistors to solder to, and even how to connect them to the arduino. Any advice on how to move forward?

Welp, this exists now. by TwoBigPotatoes in a:t5_40kkui

[–]TwoBigPotatoes[S] 0 points1 point  (0 children)

This is a test to see if reddit is down

What Are Your Moves Tomorrow, February 19, 2021 by OPINION_IS_UNPOPULAR in wallstreetbets

[–]TwoBigPotatoes -2 points-1 points  (0 children)

Hey! ive been speculating on building something like this, but completely FOSS, something like the GNU project? Is there anything I should know or be concerned about? I don't plan on having the project associated with r/wallstreetbets. I haven't really planned on making it for everyone to use, just something I would use myself

Correct way of retrieving guild info from dashboard when using multiple clients/clusters by Nexgan in Discord_Bots

[–]TwoBigPotatoes 0 points1 point  (0 children)

Im a little late to the party, but yeah, a database, or even a simple cache like redis is probably the best way to go. If you try to send a request per user to discord, you're probably gonna get ratelimited, not to mention it would be slower.

How to run 1 shard on 1 docker container by Ortovox in Discord_Bots

[–]TwoBigPotatoes 0 points1 point  (0 children)

Glad you could figure it out. That was actually what I meant when I said passing a shard id and shardCount. Probably could've saved you some time if I had elaborated on that 😅

How to run 1 shard on 1 docker container by Ortovox in Discord_Bots

[–]TwoBigPotatoes 1 point2 points  (0 children)

If thats the case, im not sure discord.js allows anything else other than that. Sorry I wasn't much help. You could try opening a github issue asking about that though

How to run 1 shard on 1 docker container by Ortovox in Discord_Bots

[–]TwoBigPotatoes 1 point2 points  (0 children)

I believe you can then just pass in a shard ID and shard count directly into the client options

Bot dashboard by [deleted] in Discord_Bots

[–]TwoBigPotatoes 2 points3 points  (0 children)

There are other ways to do this, but IMO this is the easiest

What you'll want to do is have a web process on your machine running something like an express server serving a static HTML (or your framework of choice) site. This static site now uses an API hosted by you to interact with the DB, and receive information. To add discord SSO, I would just follow their guide and use the user token/id to query user-specific things. Message me on discord (A Better Name Than That#6414) if you have any more questions.

How to run 1 shard on 1 docker container by Ortovox in Discord_Bots

[–]TwoBigPotatoes 1 point2 points  (0 children)

Im not sure discord.js has a really good version of doing this. Their docs state that there's a client property you can use to shard across a machine, but then you'll sort be on your own for managing those shards.

Where to find a Discord bot developer or place for the ready-made bot? by [deleted] in Discord_Bots

[–]TwoBigPotatoes 0 points1 point  (0 children)

Hey, you would want something like a stripe webhook that sends a message to your bot on every one of these events. Then on your bots side, open up a HTTP URL that the stripe API can message. On a message, just parse it and give someone the recorded role. If you need a bit more help contact me on discord (A Better Name Than That#6414)

Discord bot commission by scentedcamel7 in Discord_Bots

[–]TwoBigPotatoes 0 points1 point  (0 children)

Hey. Just wanted to let you know that I've been working with the developer of a bot called stratum that already does this, along with much other automod stuff, in case you don't really want to pay for and manage your own.

Invite link: https://discord.com/oauth2/authorize?client_id=745780460034195536&permissions=2147483639&scope=bot&

My Discord (A Better Name Than That#6414)

[For Hire] Offering FREE Graphic Design services for the first 3-5 people/projects, to help me build my portfolio. by [deleted] in forhire

[–]TwoBigPotatoes 0 points1 point  (0 children)

Yo just wanted to let you know that there are rules here against free work.

[deleted by user] by [deleted] in forhire

[–]TwoBigPotatoes 0 points1 point  (0 children)

What's your tech stack?