This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fake_useragent import UserAgent # pip install fake-useragent or fake_useragent | |
from consts import TOKEN # Make a consts.py file in same dir and put your token there ( TOKEN = "YOUR TOKEN" ) | |
import requests # pip install requests | |
import os, json, base64, subprocess # Comes pre installed | |
# User inputs | |
channel_id = int(input("Enter a Channel ID to send the message: ")) | |
voice_uri = input("Enter the Audio File path: ").strip() |