1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Module Discord Bot 1.0.0.0

Send messages to your shard's Discord server using Webhooks.

  1. Vorspire
    Requirements:
    Vita-Nex: Core
    Discord (Admin)
    Discord Webhooks
    DiscordBotUI.png

    Discord Bot

    Send messages to your shard's Discord server using Webhooks.

    With this module, you can easily send any string messages to Discord using your shard's name as the user.

    Includes the ability to specify a debug Webhook URL for testing the module in debug mode, so you don't interrupt your live shard's channel.

    Optionally prevent repetitive messages when the "Filter Repeat" option is enabled.

    The Notify broadcast feature in Vita-Nex: Core can optionally forward messages to Discord when the "Handle Notifications" option is enabled.

    The PvP Battle broadcast feature in Vita-Nex: Core can optionally forward messages to Discord when the "Handle PvP Battles" option is enabled.

    The bot can report the current status of the shard (Online/Offline/Crashed) when the "Handle Server Status" option is enabled.

    Commands:
    Send a message to Discord using:
    [Discord <message>

    Display the graphical admin interface using:
    [DiscordAdmin

    Usage:
    Configure this module using the [VNC command.

    Code:
    Code (C#):
    1.  
    2. // Send a typical message
    3. VitaNex.Modules.Discord.DiscordBot.SendMessage("Hello World");
    4.  
    5. // Send an unfiltered message
    6. VitaNex.Modules.Discord.DiscordBot.SendMessage("Hello World", false);
    7.  
    Notes:
    The bot is not capable of receiving messages from Discord.
    The "Filter Saves" and "Handle Broadcasts" options are not yet functional, but the code-behind for their functionality is included.
    A core mod for RunUO/ServUO EventSink and World is required to enable these options fully and may be added in the near future, at which point an update will be released for this module and all users will be notified.

Recent Reviews

  1. Punkte
    Punkte
    5/5,
    Version: 1.0.0.0
    Use it on Ultima Shards and its awesome for promoting events, Dungeon Captures, duel winners, etc!