DiscordWebHooks

DiscordWebHooks 1.0

No permission to download
Fougerite Compatibility
All
Plugin's Engine
C# (Modules)
DISCORD WEB HOOKS!!

With this plugin you can send contents to your discord webhooks



DOCS!!

Python!!
Python:
import clr

clr.AddReferenceByPartialName("Fougerite")
clr.AddReferenceByPartialName("DiscordWebHooks")
import Fougerite

try:
    import DiscordWebHooks
except ImportError:
    raise ImportError("Failed to import DiscordWebHooks")


class MyClass:

    def On_Command(Player, cmd, args):
        DiscordWebHooks.API.Send(false, "A command has been executed", "MyWebhookName", "MyWebHook URL");

C#

C#:
using Fougerite;
using DiscordWebHooks;

namespace MyPlugin
{
    public class MyClass : Fougerite.Module
    {
        public void On_Command(Fougerite.Player player, string cmd, string[] args)
        {
            DiscordWebHooks.API.Send(false, "A command has been executed", "MyWebhookName", "MyWebHook URL");
        }
    }
}

HOW TO CREATE A WEBHOOK?

Go to your channel server settings
then click WebHooks and create a new webhook
Then click on Copy URL ( This is the url that you need to implement in the Send hook)
Author
ice cold
Downloads
18
Views
81
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from ice cold

Latest reviews

Nice plugin !!