Exemplo n.º 1
0
 public static string ResponseHasBeenUpdated(this ResponsesService responsesService, Contexts contexts, string onEvent, string oldMessage, string newMessage)
 {
     return(responsesService.ProcessResponse("ResponseHasBeenUpdated", contexts,
                                             new KeyValuePair <string, string>("onEvent", onEvent),
                                             new KeyValuePair <string, string>("oldMessage", oldMessage),
                                             new KeyValuePair <string, string>("newMessage", newMessage)));
 }
Exemplo n.º 2
0
 public static string UserHasBeenWarned(this ResponsesService responsesService, string granter, string receiver, string reason)
 {
     return(responsesService.ProcessResponse("UserHasBeenWarned",
                                             new KeyValuePair <string, string>("granter", granter),
                                             new KeyValuePair <string, string>("receiver", receiver),
                                             new KeyValuePair <string, string>("reason", reason)));
 }
Exemplo n.º 3
0
 public static string UnmutedUserForUser(this ResponsesService responsesService, UserContext user, DiscordServerContext server)
 {
     return(responsesService.ProcessResponse("UnmutedUserForUser",
                                             new KeyValuePair <string, string>("user", user.Name),
                                             new KeyValuePair <string, string>("server", server.Name)));
 }
Exemplo n.º 4
0
 public static string MutedUser(this ResponsesService responsesService, UserContext user, DateTime timeEnd)
 {
     return(responsesService.ProcessResponse("MutedUser",
                                             new KeyValuePair <string, string>("user", user.Name), //todo: change to GetMention when message will be send as Embed
                                             new KeyValuePair <string, string>("timeEnd", timeEnd.ToLocalTimeString())));
 }
Exemplo n.º 5
0
 public static string UserNotFound(this ResponsesService responsesService, string user)
 {
     return(responsesService.ProcessResponse("UserNotFound",
                                             new KeyValuePair <string, string>("user", user)));
 }
Exemplo n.º 6
0
 public static string NotAdminPermissions(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("NotAdminPermissions"));
 }
Exemplo n.º 7
0
 public static string NewUserArrived(this ResponsesService responsesService, Contexts contexts)
 {
     return(responsesService.ProcessResponse("NewUserArrived",
                                             new KeyValuePair <string, string>("user", contexts.User.Mention),
                                             new KeyValuePair <string, string>("server", contexts.Server.Name)));
 }
Exemplo n.º 8
0
 public static string CustomCommandsHeader(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("CustomCommandsHeader"));
 }
Exemplo n.º 9
0
 public static string AvailableCommands(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("AvailableCommands"));
 }
Exemplo n.º 10
0
 public static string NoDefaultDescription(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("NoDefaultDescription"));
 }
Exemplo n.º 11
0
 public static string ThereAreNoMutedUsers(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("ThereAreNoMutedUsers"));
 }
Exemplo n.º 12
0
 public static string TryToGoogleIt(this ResponsesService responsesService, string link)
 {
     return(responsesService.ProcessResponse("TryToGoogleIt",
                                             new KeyValuePair <string, string>("link", link)));
 }
Exemplo n.º 13
0
 public static string MutedUsersListSent(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("MutedUsersListSent"));
 }
Exemplo n.º 14
0
 public static string MoreThanOneRegexHasBeenMatched(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("MoreThanOneRegexHasBeenMatched"));
 }
Exemplo n.º 15
0
 public static string ServerDoesntHaveAnyTrustedRole(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("ServerDoesntHaveAnyTrustedRole"));
 }
Exemplo n.º 16
0
 public static string ExampleText(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("ExampleText"));
 }
Exemplo n.º 17
0
 public static string Roles(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("Roles"));
 }
Exemplo n.º 18
0
 public static string HereYouCanFindAvailableCommandsWithDescriptions(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("HereYouCanFindAvailableCommandsWithDescriptions"));
 }
Exemplo n.º 19
0
 public static string SpamAlertRecognized(this ResponsesService responsesService, Contexts contexts)
 {
     return(responsesService.ProcessResponse("SpamAlertRecognized", contexts));
 }
Exemplo n.º 20
0
 public static string RoleIsInUserAlready(this ResponsesService responsesService, Contexts contexts, string role)
 {
     return(responsesService.ProcessResponse("RoleIsInUserAlready", contexts,
                                             new KeyValuePair <string, string>("role", role)));
 }
Exemplo n.º 21
0
 public static string UserIsNotAdmin(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("UserIsNotAdmin"));
 }
Exemplo n.º 22
0
 public static string HowToUseCommand(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("HowToUseCommand"));
 }
Exemplo n.º 23
0
 public static string UserDidntMentionAnyUser(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("UserDidntMentionAnyUser"));
 }
Exemplo n.º 24
0
 public static string Type(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("Type"));
 }
Exemplo n.º 25
0
 public static string RoleNotFound(this ResponsesService responsesService, string role)
 {
     return(responsesService.ProcessResponse("RoleNotFound",
                                             new KeyValuePair <string, string>("role", role)));
 }
Exemplo n.º 26
0
 public static string Parameters(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("Parameters"));
 }
Exemplo n.º 27
0
 public static string RoleAddedToUser(this ResponsesService responsesService, Contexts contexts, string role)
 {
     return(responsesService.ProcessResponse("RoleAddedToUser", contexts,
                                             new KeyValuePair <string, string>("role", role)));
 }
Exemplo n.º 28
0
 public static string ExampleUserMention(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("ExampleUserMention"));
 }
Exemplo n.º 29
0
 public static string TimeCannotBeNegative(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("TimeCannotBeNegative"));
 }
Exemplo n.º 30
0
 public static string ExampleSingleWord(this ResponsesService responsesService)
 {
     return(responsesService.ProcessResponse("ExampleSingleWord"));
 }