Skip to content

Commit 5fdf12b

Browse files
Add files via upload
1 parent 89af16b commit 5fdf12b

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

cfg.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wh = ""
2+
username = ""
3+
pfp = ""

pythonwebhooks.py

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
from cfg import *
2+
import os
3+
from time import sleep
4+
try:
5+
import discordwebhook
6+
except ImportError:
7+
print('whoops. the required packages arent installed. please install from requirements.txt')
8+
9+
from discordwebhook import Discord
10+
11+
discord = Discord(url=wh)
12+
13+
print("""
14+
15+
Created by website37 <3
16+
Type anything to send to your webhook
17+
If you are getting a error whilst sending please configure your webhook in cfg.py
18+
""")
19+
sleep(2)
20+
21+
os.system('cls')
22+
23+
print("""
24+
________ ___ ___ _________ ___ ___ ________ ________ ___ __ _______ ________ ___ ___ ________ ________ ___ __ ________
25+
|\ __ \|\ \ / /|\___ ___\\ \|\ \|\ __ \|\ ___ \ |\ \ |\ \|\ ___ \ |\ __ \|\ \|\ \|\ __ \|\ __ \|\ \|\ \ |\ ____\
26+
\ \ \|\ \ \ \/ / ||___ \ \_\ \ \\\ \ \ \|\ \ \ \\ \ \ \ \ \ \ \ \ \ __/|\ \ \|\ /\ \ \\\ \ \ \|\ \ \ \|\ \ \ \/ /|\ \ \___|_
27+
\ \ ____\ \ / / \ \ \ \ \ __ \ \ \\\ \ \ \\ \ \ \ \ \ __\ \ \ \ \_|/_\ \ __ \ \ __ \ \ \\\ \ \ \\\ \ \ ___ \ \_____ \
28+
\ \ \___|\/ / / \ \ \ \ \ \ \ \ \ \\\ \ \ \\ \ \ \ \ \|\__\_\ \ \ \_|\ \ \ \|\ \ \ \ \ \ \ \\\ \ \ \\\ \ \ \\ \ \|____|\ \
29+
\ \__\ __/ / / \ \__\ \ \__\ \__\ \_______\ \__\\ \__\ \ \____________\ \_______\ \_______\ \__\ \__\ \_______\ \_______\ \__\\ \__\____\_\ \
30+
\|__||\___/ / \|__| \|__|\|__|\|_______|\|__| \|__| \|____________|\|_______|\|_______|\|__|\|__|\|_______|\|_______|\|__| \|__|\_________\
31+
\|___|/ \|_________|
32+
""")
33+
34+
message = input(">")
35+
36+
discord.post(
37+
content=message,
38+
username=username,
39+
avatar_url=pfp
40+
)

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
discordwebhook

0 commit comments

Comments
 (0)