add rabbitMQ commands support to wiki and add missing arg hint info
This commit is contained in:
parent
8f95809c80
commit
cfe12fb6c9
2 changed files with 4 additions and 3 deletions
|
|
@ -11,8 +11,8 @@ namespace SecondBotEvents.Commands
|
||||||
public class RabbitMQ(EventsSecondBot setmaster) : CommandsAPI(setmaster)
|
public class RabbitMQ(EventsSecondBot setmaster) : CommandsAPI(setmaster)
|
||||||
{
|
{
|
||||||
[About("Fetchs the current region type the bot is in")]
|
[About("Fetchs the current region type the bot is in")]
|
||||||
[ArgHints("Qname", "Name of the queue to send the message to")]
|
[ArgHints("Qname", "Name of the queue to send the message to","TEXT","exampleq")]
|
||||||
[ArgHints("message", "Message to send to the queue")]
|
[ArgHints("message", "Message to send to the queue","TEXT","Hello world")]
|
||||||
[ReturnHints("Message sent to the queue")]
|
[ReturnHints("Message sent to the queue")]
|
||||||
[ReturnHintsFailure("Error sending message: ...")]
|
[ReturnHintsFailure("Error sending message: ...")]
|
||||||
[ReturnHintsFailure("RabbitMQ service not available")]
|
[ReturnHintsFailure("RabbitMQ service not available")]
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,8 @@ namespace SecondBotEvents
|
||||||
{ "parcel", typeof(ParcelCommands) },
|
{ "parcel", typeof(ParcelCommands) },
|
||||||
{ "self", typeof(Self) },
|
{ "self", typeof(Self) },
|
||||||
{ "streamadmin", typeof(StreamAdmin) },
|
{ "streamadmin", typeof(StreamAdmin) },
|
||||||
{ "services", typeof(SecondBotEvents.Commands.Services) }
|
{ "services", typeof(SecondBotEvents.Commands.Services) },
|
||||||
|
{ "rabbitmq", typeof(SecondBotEvents.Commands.RabbitMQ) }
|
||||||
};
|
};
|
||||||
return reply;
|
return reply;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue