forked from rDrama/rDrama
xvc
parent
7f10a7ec07
commit
9a46fccd8e
|
@ -58,7 +58,7 @@ def set_nick(user, nick):
|
||||||
requests.patch(url, headers=headers, json=data, timeout=5)
|
requests.patch(url, headers=headers, json=data, timeout=5)
|
||||||
|
|
||||||
def send_message(message):
|
def send_message(message):
|
||||||
url=f"https://discordapp.com/api/channels/851846904283267094/messages"
|
url=f"https://discordapp.com/api/channels/924485611715452940/messages"
|
||||||
headers = {"Authorization": f"Bot {BOT_TOKEN}"}
|
headers = {"Authorization": f"Bot {BOT_TOKEN}"}
|
||||||
data={"content": message}
|
data={"content": message}
|
||||||
requests.post(url, headers=headers, data=data, timeout=5)
|
requests.post(url, headers=headers, data=data, timeout=5)
|
Loading…
Reference in New Issue