forked from rexdivakar/Notifly
-
Notifications
You must be signed in to change notification settings - Fork 0
Working with Discord
vismitap edited this page Feb 19, 2021
·
5 revisions
Good news for all Discord Lovers!💖🤩
Notifly is friends with Discord too!🤝 The process is not that long and is pretty straight forward.
✅ Create your own server.
✅ Create server webhook.
If you don't know much about webhooks, visit Discord webhooks page to know more.
✅ Create a sample.py file and paste the following code.
from notifly import discord
x = discord.Notifier(r'webhook') #create object of class Notifier
x.send_message('message') #send message
x.send_file("file address") #send file
x.send_file("image address") #send image
✅ Run the code. Done 😄✌!! That was easy! Isn't it? Continue to the next page for Integration with Slack!🎉