/ blottertrax / helper / templates.py
templates.py
 1  # flake8: noqa
 2  from praw.models import Submission
 3  
 4  submission_exceeding_threshold: str = '''
 5  Our apologies /u/{} but your post has been automatically removed because the artist has too many {}. The maximum is {:,} and this link has {:,}.
 6  If you think this is in error, please [contact the mods](https://www.reddit.com/message/compose?to=/r/listentothis&subject=Post removed in error.&message=https://redd.it/{}). 
 7  
 8  If you're new to the subreddit, please [read the full subreddit rules](https://www.reddit.com/r/listentothis/wiki/rules).
 9  
10  ^^Don't ^^blame ^^me, ^^I'm ^^just ^^a ^^bot! [ ^^bugs&code ](https://github.com/martijnboers/BlotterTrax)
11  '''
12  
13  submission_repost: str = '''
14  >**Artist Reposting**
15  
16  This post has been removed due to the artist having been posted too recently. No artist may be posted more than once a week and you may not use the same song within a 30 day period. Artists with posts that score more than 100pts may not be posted for the next month; artists that gain multiple posts of 100pts will be put on a cooldown for up to 90 days.
17  
18  A full explanation of this rule can be found [here](https://www.reddit.com/r/listentothis/wiki/rules).
19  '''
20  
21  musicbrainz_artist_info: str = '''
22  **{}** {}
23  ___
24  
25  - album: {} {}
26  - tags: {}
27  - socials: {}
28  
29  ^^Displaying ^^incorrect ^^data? ^^Submit ^^a [^^correction ](https://musicbrainz.org/artist/{})  
30  ^^For ^^reporting ^^bugs ^^or ^^other ^^questions [ ^^click·here ](https://github.com/martijnboers/BlotterTrax)
31  '''
32  
33  mod_note_exceeding_threshold: str = '{} exceeds {:,}.  Actual: {:,}.'
34  
35  self_promotion: str = '''
36  /u/{}, your submission has been removed from /r/listentothis for:
37  
38  > **Self Promotion/Personal or Professional Association**
39  
40  We do not allow personal projects to be posted in /r/listentothis.  If you have a personal or professional connection to the artist (e.g. friend or family member or this is a video you directed or produced, etc), we consider this as doing promotional work on the artist's behalf. Please post this in our [weekly music melting pot thread.](http://www.reddit.com/r/listentothis/search?q=self%3Ayes+%22melting+pot%22+-flair%3Amodpost&restrict_sr=on&sort=new&t=week) or on [any of these subreddits](https://www.reddit.com/u/evilnight/m/redditunes) dedicated to Redditor-made music.
41  
42  ___
43  
44  
45  
46  ___
47  
48  
49  If you have any questions or believe that there has been an error, you may [PM the moderators](http://www.reddit.com/message/compose?to=/r/listentothis&subject=Please review my post). You may also [click here to see our full rule set](https://www.reddit.com/r/listentothis/wiki/rules).
50  '''
51  
52  modmail_reply: str = '''
53  /u/{},
54  
55  If you are contacting us about your [recent submission]({}), it was likely removed due to your account being too new to participate in our community.  Please continue to participate by leaving comments on r/listentothis and elsewhere on reddit and then come back to submit some music. As policy, we don't disclose the specific karma minimum for submitting.
56  
57  Furthermore, please carefully review [our rules](https://www.reddit.com/r/listentothis/wiki/rules) when you return.
58  
59  ^This ^message ^was ^sent ^by ^an ^automated ^bot.  ^If ^you ^believe ^this ^message ^does ^not ^resolve ^your ^issue ^please ^feel ^free ^to ^reply.
60  '''
61  
62  
63  def get_modmail_reply_new_account(username: str, recent_submission: Submission):
64      return modmail_reply.format(username, recent_submission.permalink)