diff --git a/premium/assets/premium-perks.html b/premium/assets/premium-perks.html new file mode 100644 index 0000000000..7825a0abf0 --- /dev/null +++ b/premium/assets/premium-perks.html @@ -0,0 +1,75 @@ +{{define "premium_perks"}} +{{template "cp_head" .}} + + + +{{template "cp_alerts" .}} + +
+
+
+
+

Info

+
+
+

Premium helps covers server cost and supports the development of the bot

+

Here you can find the features that premium subscription provides.

+ +
+
+
+
    +
  • Make a pledge on our Patreon. Tiers $3 and above + will grant you premium slots. It can take up to 10 minutes from you making a pledge to it + being processed on our side. (If you do not see your premium slots after that time, please contact us through the support server.)
  • +
+
+
+

+ +
+
+
+ General goodies +
    +
  • Trigger CCs on Message Edit
  • +
  • Retroactive AutoRole Scan and Assignment
  • +
  • Access to priority support channels on our support server ($5 and above subscription only)
  • +
+ + Extended limits: +
    +
  • Message cache duration increased from 1 hour to 12 hours, which means you will be + able to see the removed messages in the logs if the message was sent in the previous + 12 hours
  • +
  • Max custom commands increased from 100 to 250
  • +
  • Max Reddit feeds increased from 20 to 1000
  • +
  • Max Youtube feeds increased from 10 to 250 (Possibly higher if needed)
  • +
  • Max Soundboard sounds increased from 50 to 250 (Possibly higher if needed)
  • +
  • Custom Command Length increased to 20000 characters from 10000
  • +
  • Increased database storage and interaction limits.
  • +
  • Various custom command function limits increased
  • +
  • Advanced Automod limits increased
  • +
+
+
+
+
+
+ +
+ +
+ + +{{template "cp_footer" .}} + +{{end}} diff --git a/premium/assets/premium.html b/premium/assets/premium.html index dcea4ae8ac..ced019df8f 100644 --- a/premium/assets/premium.html +++ b/premium/assets/premium.html @@ -2,82 +2,18 @@ {{template "cp_head" .}} {{template "cp_alerts" .}} -
-
-
-
-

Info

-
-
-

Here you can redeem codes from giveaways and assign premium slots to servers.

-

You can find the features behind the paywall in the list below.

-

If you come across any issues with premium, please let us know!

-

Note: The premium functionality is just a bonus for supporting the bot and not a "product".

- - -
-
-
-
    -
  • Make a pledge on our Patreon. Tiers $3 and above - will grant you premium slots. It can take up to 10 minutes from you making a pledge to it - being processed on our side. (If you do not see your premium slots after that time, please contact us through the support server.)
  • -
-
-
-

- -
-
-
- General goodies -
    -
  • Trigger CCs on Message Edit
  • -
  • Retroactive AutoRole Scan and Assignment
  • -
  • Access to priority support channels on our support server
  • -
- - Extended limits: -
    -
  • Message cache duration increased from 1 hour to 12 hours, which means you will be - able to see the removed messages in the logs if the message was sent in the previous - 12 hours
  • -
  • Max custom commands increased from 100 to 250
  • -
  • Max Reddit feeds increased from 100 to 1000
  • -
  • Max Youtube feeds increased from 50 to 250 (Possibly higher if needed)
  • -
  • Max Soundboard sounds increased from 50 to 250 (Possibly higher if needed)
  • -
  • Increased database storage and interaction limits.
  • -
  • Various custom command function limits increased
  • -
-
-
-
-
-
- -
- -
-
-

Redeem code

+

Redeem code

-
@@ -86,6 +22,13 @@

Redeem code

+
+

If you're coming here after making a payment on patreon, you need to connect your discord to patreon + Once that is done, your slots will appear below automatically with-in 10 minutes. + Premium slots are assigned to servers, you can assign them to any server you have manage server permissions on. + If you don't see your slots after 10 minutes, please contact us on the support server.

+

To learn more about what premium features and how to get premium, check the premium perks list.

+
{{if .QueriedCode}}
    diff --git a/premium/plugin_web.go b/premium/plugin_web.go index 39422e9369..891af88044 100644 --- a/premium/plugin_web.go +++ b/premium/plugin_web.go @@ -24,7 +24,10 @@ import ( ) //go:embed assets/premium.html -var PageHTML string +var PremiumHTML string + +//go:embed assets/premium-perks.html +var PremiumPerksHTML string type CtxKey int @@ -36,7 +39,8 @@ var ( var _ web.Plugin = (*Plugin)(nil) func (p *Plugin) InitWeb() { - web.AddHTMLTemplate("premium/assets/premium.html", PageHTML) + web.AddHTMLTemplate("premium/assets/premium.html", PremiumHTML) + web.AddHTMLTemplate("premium/assets/premium-perks.html", PremiumPerksHTML) web.CPMux.Use(PremiumGuildMW) web.ServerPublicMux.Use(PremiumGuildMW) @@ -44,6 +48,8 @@ func (p *Plugin) InitWeb() { submux := goji.SubMux() web.RootMux.Handle(pat.New("/premium"), submux) web.RootMux.Handle(pat.New("/premium/*"), submux) + web.RootMux.Handle(pat.New("/premium-perks"), web.RenderHandler(nil, "premium_perks")) + web.RootMux.Handle(pat.New("/premium-perks/*"), web.ControllerHandler(nil, "premium_perks")) submux.Use(web.RequireSessionMiddleware)