Emoji

class praw.models.reddit.emoji.Emoji(reddit, subreddit, name, _data=None)

An individual Emoji object.

__init__(reddit, subreddit, name, _data=None)

Construct an instance of the Emoji object.

delete()

Delete an emoji from this subreddit by Emoji.

To delete 'test' as an emoji on the subreddit 'praw_test' try:

reddit.subreddit('praw_test').emoji['test'].delete()
fullname

Return the object’s fullname.

A fullname is an object’s kind mapping like t3 followed by an underscore and the object’s base36 ID, e.g., t1_c5s96e0.

classmethod parse(data, reddit)

Return an instance of cls from data.

Parameters:
  • data – The structured data.
  • reddit – An instance of Reddit.