Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patreon sub notifications #429

Merged
merged 4 commits into from
Sep 16, 2024
Merged

patreon sub notifications #429

merged 4 commits into from
Sep 16, 2024

Conversation

mcfiredrill
Copy link
Member

No description provided.

@mcfiredrill mcfiredrill marked this pull request as draft September 15, 2024 03:22
@@ -70,6 +72,8 @@ def set_message
":#{self.source.award_type.split("py").first}:!!! #{self.user.username} got #{self.source.amount} #{self.source.award_type} points!"
when "show_comment"
"#{self.source.title} has a new comment!"
when "patreon_sub"
"#{self.source.name} subscribed to the #{self.source.tier_name} tier on patreon!"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?????

class PatreonPledge < ApplicationRecord
def tier_name
# decide tier name from pledge_amount_cents
"pineapple master"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??????

@mcfiredrill mcfiredrill marked this pull request as ready for review September 16, 2024 18:06
@mcfiredrill mcfiredrill merged commit 472a8d2 into main Sep 16, 2024
2 checks passed
@mcfiredrill mcfiredrill deleted the patreon-sub-notification branch September 16, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant