WoW:API ChannelModerate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API ChannelModerate to API ChannelModerate without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Used to enable Moderator functions such a Kick and Ban.  This command must be used if you wish to administrate a channel.
{{wowapi}} __NOTOC__
{{removedapi|≤ 3.1.3|No longer required: channels are moderated by default.}}
Used to enable/disable Moderator functions such a Kick and Ban.  This command must be used if you wish to administrate a channel.
ChannelModerate("channelName")
 
 
== Arguments ==
;"channelName": String - The name of the channel to turn moderation on or off.
 
== Triggers Events ==
:* "[[Events/C#CHAT_MSG_CHANNEL_NOTICE_USER|CHAT_MSG_CHANNEL_NOTICE_USER"]]" with arg1 being "CHAT_MODERATION_ON_NOTICE" or "CHAT_MODERATION_OFF_NOTICE".

Latest revision as of 04:45, 15 August 2023

WoW API < ChannelModerate

Used to enable/disable Moderator functions such a Kick and Ban. This command must be used if you wish to administrate a channel.

ChannelModerate("channelName")


Arguments[edit]

"channelName"
String - The name of the channel to turn moderation on or off.

Triggers Events[edit]