Skip to content

Commit

Permalink
Merge pull request #48 from Treeston/main
Browse files Browse the repository at this point in the history
Add "/lfg" as an intuitive shorthand to open the GBB frame.
  • Loading branch information
Vysci authored Jun 14, 2021
2 parents 4785bf3 + 88b2cd9 commit 11c9dda
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions LFGBulletinBoard/GroupBulletinBoard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,13 @@ function GBB.Init()
},
})

SlashCmdList.GBB_LFG = function()
if not GroupBulletinBoardFrame:IsShown() then
GBB.ShowWindow()
end
end
SLASH_GBB_LFG1 = "/lfg"

-- Create options and initalize!
GBB.OptionsInit()

Expand Down

0 comments on commit 11c9dda

Please sign in to comment.