A discord bot built in Python to test the discord API, This is the first version that currently has a feature to play music on youtube.
- Music
- Random
Open your Terminal and change the directory to its path. Then enter this command.
python main.py
Make sure that you have installed it below.
Dependency:
You need it to convert the file.
-
Example: set path=C:/ffmpeg/bin
set path=%path%
IDE and code editor:
Can use any other one that you are good at.
API:
All command:
/คำสั่ง - แสดงคำสั่งทั้งหมดที่มี
# หมวดเพลง 🎵
/เล่น <ชื่อเพลง> - ค้นหาเพลงบนยูทูป และเริ่มเล่นเพลงที่แชแนลปัจจุบันที่คุณอยู่
/คิว - แสดงคิวเพลงทั้งหมด
/ข้าม - ข้ามเพลงปัจจุบันที่กำลังเล่นอยู่
/ล้างคิว - ล้างคิวเพลง และหยุดเพลงที่กำลังเล่น
/ปิด - ตัดการเชื่อมต่อบอทออกจากแชท
/หยุด - หยุดเพลงปัจจุบันที่กำลังเล่น หรือ เล่นเพลงปัจจุบันต่อ หากถูกหยุดไว้แล้ว
/เล่นต่อ - เล่นเพลงปัจจุบันต่อหากถูกหยุด
This project is licensed under the GNU GPL v2.0 GNU General Public License Version 2.0 - see the LICENSE.md file for details