
File ( dest, filename = f " -petpet.gif" )) client. seek ( 0 ) # set the file pointer back to the beginning so it doesn't upload a blank file. reply ( 'Please use a custom emoji or tag a member to petpet their avatar.' ) return source = BytesIO ( image ) # file-like container to hold the emoji in memory dest = BytesIO () # container to store the petpet gif in memory petpetgif. read () # retrieve the image bytes else : await ctx. Design your own cartoon pets using our one of a kind pet avatar maker Share your creations online. read () # retrieve the image bytes elif type ( image ) = discord.

command () async def pet ( ctx, image : Optional ]): if type ( image ) = discord. (This parameter corresponds and is passed to the () method.) Basic example: from petpetgif import petpet petpet.make('test.png', 'out.gif') Discord.py example: import os import discord from discord.ext import commands from dotenv import loaddotenv from io import. There are 3 other projects in the npm registry using pet-pet-gif. event async def on_ready (): print ( 'Bot is ready.' ). dest: A filename (string), pathlib.Path object or a file object. Start using pet-pet-gif in your project by running npm i pet-pet-gif. getenv ( 'DISCORD_BOT_TOKEN' ) client = commands. enable to move your image with mouse/touch/keyboard in the preview. make ( 'test.png', 'out.gif' )ĭiscord.py example: import os import discord from discord.ext import commands from dotenv import load_dotenv from io import BytesIO from typing import Union, Optional from petpetgif import petpet as petpetgif load_dotenv () token = os. if this crashes your browser it is NOT my fault. (This parameter correspondsĪnd is passed to the () method.)īasic example: from petpetgif import petpet petpet. (This parameter correspondsĪnd is passed to the () method.)ĭest: A filename (string), pathlib.Path object or a file object. Source: A filename (string), pathlib.Path object or a file object. The default FPS is 16, but 10 may be a bit gentle r as shown like the animation in this article.

You can scale up or down the image, adjust the position, and select a specific FPS (frame per second).
#Petpet gif maker generator#
It garnered over 920,000 views and 83,000 likes in under two months.Usage: from petpetgif import petpet petpet. petpet generator provides a great solution for creating an animation with a hand petting an object. The video is set to a MixAndMash remix of Jack Stauber's song Buttercup.

The same disembodied hand from DitzyFlama's frog petting GIF flies onto the screen and pets the dog, making him happy (shown below). The video depicts a Shiba Inu losing his cowboy hat, causing him to cry. On July 26th, YouTuber manwel super uploaded a video titled "pet the doge" to his YouTube page. These memes are commonly set to Ending Theme from Super Mario World. In some instances, the hand doesn't pet the character at all, instead bait and switching the audience by performing an unexpected and often violent action. The hand is frequently used in videos showing images of sad characters becoming happy after the hand pets them. Pet The X VideosĪfter the success of PETTHE emotes in May to June 2020, people began using the hand from DitzyFlama's frog petting GIF in wholesome videos in a similar manner to the Polar Bear GIF. As of June 28th, 2020, over 400 PETTHE emotes have been uploaded to BTTV.
