Skip to content

Commit

Permalink
feat(commands): added /v shortcut slash command and modified command …
Browse files Browse the repository at this point in the history
…descriptions
  • Loading branch information
Exoridus committed Sep 15, 2023
1 parent 276a92e commit b8c6080
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ L["BLOCKLIST_NAME"] = "Venoxis Discord Blocklist";
L["BLOCKLIST_PROVIDER"] = "Venoxis Discord";
L["BLOCKLIST_DESCRIPTION"] = "Scambuster Datenbank mit Chars von Betrügern und unangemessenen Spielern auf Venoxis.";

L["AVAILABLE_COMMANDS"] = "Verfügbare Slash Commands:";
L["AVAILABLE_COMMANDS"] = "Verfügbare Slash Commands: (/v auch möglich)";
L["PRINT_COMMAND_1"] = "schreibt die Characterdaten deines Targets ins aktive Chatfenster.";
L["PRINT_COMMAND_2"] = "schreibt Characterdaten der genannten Spieler ins aktive Chatframe.";
L["REPORT_COMMAND_1"] = "öffnet ein Kopierfenster mit Characterdaten deines Targets.";
Expand Down
2 changes: 1 addition & 1 deletion Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ L["BLOCKLIST_NAME"] = "Venoxis Discord Blocklist";
L["BLOCKLIST_PROVIDER"] = "Venoxis Discord";
L["BLOCKLIST_DESCRIPTION"] = "Scambuster database with chars of scammers and inappropriate players on Venoxis.";

L["AVAILABLE_COMMANDS"] = "Available slash commands:";
L["AVAILABLE_COMMANDS"] = "Available slash commands: (/v also works)";
L["PRINT_COMMAND_1"] = "prints character data of your target into your chat frame.";
L["PRINT_COMMAND_2"] = "prints character data of entered players into your chat frame.";
L["REPORT_COMMAND_1"] = "opens character data of your target inside a copy window.";
Expand Down
2 changes: 2 additions & 0 deletions Modules/Commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ local L = AceLocale:GetLocale(AddonName);

function Commands:OnEnable()
self:RegisterChatCommand("venoxis", "ChatCommand");
self:RegisterChatCommand("v", "ChatCommand");
end

function Commands:OnDisable()
self:UnregisterChatCommand("venoxis");
self:UnregisterChatCommand("v");
end

function Commands:ChatCommand(input)
Expand Down

0 comments on commit b8c6080

Please sign in to comment.