m
Move page script moved page API ChannelModerate to WoW:API ChannelModerate without leaving a redirect
(upgraded deprecated template) |
m (Move page script moved page API ChannelModerate to WoW:API ChannelModerate without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} __NOTOC__ | ||
{{ | {{removedapi|≤ 3.1.3|No longer required: channels are moderated by default.}} | ||
Used to enable Moderator functions such a Kick and Ban. This command must be used if you wish to administrate a channel. | 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". | |||