readme: remove obsolete discord button, add donate

This commit is contained in:
shagu
2021-10-08 16:54:05 +02:00
parent d2b0409616
commit 452b7e15bb
3 changed files with 23 additions and 14 deletions
+2
View File
@@ -0,0 +1,2 @@
github: [shagu]
ko_fi: shagu
+1 -4
View File
@@ -68,11 +68,8 @@ The term "*pfui!*" is german and simply stands for "*pooh!*", because I'm not a
big fan of creating configuration UI's, especially not via the Wow-API
(you might have noticed that in ShaguUI).
~~**Is there a discord channel?**~~
~~Yes there is one: [Discord Invite](https://discord.gg/QTRKanu)~~
**How can I donate?**
You can't. I'm doing this for fun. Enjoy!
You can donate via [GitHub](https://github.com/sponsors/shagu) or [Ko-fi](https://ko-fi.com/shagu)
**How do I report a Bug?**
Please provide as much information as possible in the [Bugtracker](https://github.com/shagu/pfUI/issues).
+20 -10
View File
@@ -1345,19 +1345,29 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
parent.lang:SetText(lang)
end)
local discord = CreateFrame("Button", nil, this)
discord:SetPoint("TOPLEFT", 150, -335)
discord:SetWidth(125)
discord:SetHeight(20)
discord:SetText(T["Join Discord"])
discord:SetScript("OnClick", function()
pfUI.chat.urlcopy.CopyText("https://discord.gg/QTRKanu")
local donate = CreateFrame("Button", nil, this)
donate:SetPoint("TOPLEFT", 130, -335)
donate:SetWidth(100)
donate:SetHeight(20)
donate:SetText(T["Donate"])
donate:SetScript("OnClick", function()
pfUI.chat.urlcopy.CopyText("https://ko-fi.com/shagu")
end)
SkinButton(discord)
SkinButton(donate)
local github = CreateFrame("Button", nil, this)
github:SetPoint("TOPLEFT", 240, -335)
github:SetWidth(100)
github:SetHeight(20)
github:SetText(T["GitHub"])
github:SetScript("OnClick", function()
pfUI.chat.urlcopy.CopyText("https://github.com/shagu/pfUI")
end)
SkinButton(github)
local website = CreateFrame("Button", nil, this)
website:SetPoint("TOPLEFT", 300, -335)
website:SetWidth(125)
website:SetPoint("TOPLEFT", 350, -335)
website:SetWidth(100)
website:SetHeight(20)
website:SetText(T["Website"])
website:SetScript("OnClick", function()