Update marsey_bot.py

master
Guzzy 2023-11-15 06:12:38 +00:00
parent 36ed396f78
commit 15993b1693
1 changed files with 90 additions and 90 deletions

View File

@ -38,7 +38,7 @@ def webm2gif(abs_media_path): #convert webp to gif
media.info.pop('background', None)
abs_media_path = abs_media_path[:-4]+'gif' #change the path from webp to gif
media.save(abs_media_path, 'gif', optimize=False, save_all=True, disposal=2) #temp save a gif file (there might be a better way but i lazy :marseyteehee:)
return(abs_media_path) #return gif path
return abs_media_path #return gif path
client = commands.Bot(command_prefix = '!')