Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue about embed.py and setup.py #24

Closed
robloxian34535 opened this issue Jul 12, 2019 · 5 comments
Closed

issue about embed.py and setup.py #24

robloxian34535 opened this issue Jul 12, 2019 · 5 comments

Comments

@robloxian34535
Copy link

robloxian34535 commented Jul 12, 2019

I tried ran the embed.py
and it doesnt work at all.. Yes I did put my webhook there.
I don't know about setup.py but it failed to install or given error but it close the cmd so fast. I don't know the errors anyway

I did pip install dhooks and already installed for now...
My python version is 3.6.4
My pip version is 19.1.1

@Taaku18
Copy link
Collaborator

Taaku18 commented Jul 12, 2019

You’ll need to read the installation guide, simply a pip install dhooks will work. https://github.com/kyb3r/dhooks/blob/master/README.md. As for embed.py, itself is not a standalone program, it contains an object representing an embed object from discord API. Please read the README file.

@Taaku18 Taaku18 closed this as completed Jul 12, 2019
@robloxian34535
Copy link
Author

robloxian34535 commented Jul 12, 2019

You’ll need to read the installation guide, simply a pip install dhooks will work. https://github.com/kyb3r/dhooks/blob/master/README.md. As for embed.py, itself is not a standalone program, it contains an object representing an embed object from discord API. Please read the README file.

Sadly I've already did the pip install dhooks

But

So I run this i'm not going to put my webhook link there too risky to give out..

from dhooks import Webhook

hook = Webhook('MYWEBHOOK')

hook.send("Hello there! I'm a webhook :open_mouth:")

and ran it with run.py

and it didnt send anything.. and it close the cmd very quicky

Repository owner deleted a comment from robloxian34535 Jul 12, 2019
@Taaku18
Copy link
Collaborator

Taaku18 commented Jul 12, 2019

Could you try running the python file from cmd with the python yourfile.py command? This way the cmd window wouldn’t immediately close after the program terminated.

@robloxian34535
Copy link
Author

robloxian34535 commented Jul 12, 2019

Now it work.

Thanks. Do you mind delete the link picture of prnt.sc on other issue?

@Taaku18
Copy link
Collaborator

Taaku18 commented Jul 12, 2019

Yeah, don’t worry, @kyb3r can delete the issues. (Intentional ping)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants