Alibrown commited on
Commit
209c46a
·
verified ·
1 Parent(s): 46724e2

Create readme.txt

Browse files
Files changed (1) hide show
  1. readme.txt +42 -0
readme.txt ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Discord Bot Boilerplate for HF
2
+ ##### by S. Volkan Kücükbudak
3
+
4
+ This is a simple boilerplate to set up a Discord bot that runs on Hugging Face Spaces, using Flask and the Discord Interaction API. It includes the basic setup for handling interactions, verifying requests, and running health checks in the background.
5
+
6
+ #### Demo
7
+ ##### Huggingface spaces
8
+ [HF Demo Space](https://alibrown-playstore.hf.space/) (running public)
9
+ ##### Demo Boilerplate bot on Discord:
10
+ ###### Single & Guild install:
11
+ Link for install the bot on Discord
12
+
13
+ https://discord.com/oauth2/authorize?client_id=1303131091279810593
14
+
15
+
16
+ #### HF-Spaces
17
+ Demo Space:
18
+
19
+ https://huggingface.co/spaces/Alibrown/playstore/
20
+
21
+ #### Github (dev)
22
+ https://github.com/VolkanSah/HF-Discord-Bot/
23
+
24
+ ## Features
25
+ - Flask-based backend for handling Discord interactions
26
+ - Ed25519 request verification
27
+ - Health check endpoint
28
+ - Slash command integration (soon)
29
+
30
+ Settings on HF:
31
+ - PUBLIC_KEY: Your Discord public key. (public)
32
+ - APPLICATION_ID: Your Discord application ID. (secret)
33
+ - BOT_TOKEN: Your BOT Token (secret)
34
+ needed.
35
+
36
+ ### License
37
+
38
+ You can use this bot for free, both for private and commercial projects. However, do not sell the script, only your own work!
39
+
40
+ ## Disclaimer
41
+
42
+ This is a boilerplate code, and it may require further modification for production use. Always ensure your environment is secure, especially when deploying publicly.