DC Bot Required For Uploading Files From Dedi

Status
This thread has been locked.

JasmeowTheCat

Systems Administrator
Supreme
Feedback score
36
Posts
564
Reactions
267
Resources
0
Hi All,

I am looking for a quick bot coded that will upload a file from a dedicated system at a certain time (I can just cronjob this or you can implement some kind of .env file where I specify a time/whatever works for you) and then upload it to a Discord channel. I can do this manually but it's a bit tedious, so looking to simply upload one log.txt file into that particular Discord channel each day.

Hopefully this makes sense. It's basically grabbing the latest log.txt of the backup system, rclone, then going and popping it into the designated channel. Simple and easy.

Thanks <3
 
Type
Requesting
Provided by
Individual
Language
  1. NodeJS
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

conhnation

Discord Bot Developer
Supreme
Feedback score
3
Posts
23
Reactions
4
Resources
0
Hey, I should be able to do this.
My Discord is ConHNation#0001 (ID: 969617339375054888)
 

GabyTM

@gabytm / gabytm.me/discord
Supreme
Feedback score
44
Posts
425
Reactions
191
Resources
6
Could also use a webhook, all you need is a post request to the discord api, and everything can be done from a sh file
 
Status
This thread has been locked.
Top