- Backup your hidden
.envfile containing the decryption APP_KEY from/var/www/pterodactyl
- Export the database, in this case ours is named panel
| import tkinter | |
| import requests #dependency | |
| from tkinter import Scrollbar, Tk,ttk,StringVar | |
| def webhook_send(): | |
| global webhookurl | |
| global username | |
| global entry_content | |
| url =webhookurl.get() | |
| #for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook |
| [ | |
| { | |
| "ip": "185.50.107.211", | |
| "dns": "brazil0.discord.gg", | |
| "city": "Cotia", | |
| "region": "São Paulo", | |
| "country": "BR", | |
| "org": "AS49544 i3D.net B.V" | |
| }, | |
| { |
| import requests # dependency | |
| url = "<your url>" # webhook url, from here: https://i.imgur.com/f9XnAew.png | |
| # for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook | |
| data = { | |
| "content" : "message content", | |
| "username" : "custom username" | |
| } |
Here is an updated list of the colors that are currently implemented with a name.
To using colors on discord.js, this is a typedef Colors, Colors.Aqua to get the Aqua color.
| Name | Int value | Hex Code |
|---|---|---|
Default |
0 | #000000 |
Aqua |
1752220 | #1ABC9C |
DarkAqua |
1146986 | #11806A |
Green |
5763719 | #57F287 |
DarkGreen |
2067276 | #1F8B4C |