WoW:API ChannelModerate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{stub/api}})
m (Move page script moved page API ChannelModerate to API ChannelModerate without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{stub/api}}
{{wowapi}} __NOTOC__
Used to enable Moderator functions such a Kick and Ban.  This command must be used if you wish to administrate a channel.
{{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 ==
{{WoW API}}
;"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]