You are browsing as a guest. Sign up (or log in) to start making projects!

Discord-Bot

  • 2 Devlogs
  • 3 Total hours

I am building a Discord-Bot For File Sharing and Automating the task of sending message to Discord

Ship #1 Pending review

I Have made a discord webhook library using c++, this library has classes,methods,etc for sending files,photos,videos,code to discord using this library. i am proud of building this because this is first time shipping my projects and i really proud of myself just within 2 days i have completed this work,if you trying my library make sure to have g++ compiler and cmake. go to a terminal (specifically bash or zsh any other type of terminals such as cmd or powershell will not work ig).1, go to the /src/main.cpp file and fill the blanks i have left. 2,go to the root directory and do cmake -B build, then goto build directory and do ‘make’. this will compile your code and links it with the library, and then do ‘./Send’ this will send your files or photos to discord. that’s it. the main problem with this project is that it is a messy codebase and hard to read and i am working on it. another thing is that to make this work it is really hard as need to know lot of low level stuff but i am grateful that i have learned lot of stuff in the way and please forgive me the screenshot’s and all, because i am using linux i can’t not like simply screenshot stuff there are lot of steps and i am lazy to do them and something’s in wayland is breaking so i don’t know sorry.

  • 2 devlogs
  • 3h
Try project → See source code →
Open comments for this post

1h 30m 44s logged

Today i have finished this project, i have build a library where i can send messages,files,photos,videos etc through this library using webhooks, and this is a great beginning as i found my joy in c++ and programming bots as a hobby. thank you. Today i will ship this small project to hackclub.

0
0
19
Open comments for this post

1h 17m 39s logged

Good Afternoon, Today i made significant change to the Webhook Class By adding new function called sendFiles, means it can send files to discord server only using the webhook. Pretty cool right ? ik But this is kind of slow, like if i need to like send lot’s of like photos,files and all the Mime object is constructed and deconstructed everytime so tommorow i have to come up with a good solution for large scale sharing and need to add well commented code, thank you for reading my broken grammer devlog

0
0
13

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…