#Creating emojis

1 messages · Page 1 of 1 (latest)

native talon
#

Im trying to create an emoji to be uploaded to server based on an object being called for

frank anvilBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

native talon
#
    # Fetch the image data
    async with aiohttp.ClientSession() as session:
        async with session.get(image_url) as response:
            image_data = await response.read()

    # Upload the image as a custom emoji
    emoji = await guild.create_custom_emoji(name=name, image=image_data)
    return emoji```

keeps saying image isnt an argument when running the command
night spade
#

clearly image is not the argument you need to use then

native talon
night spade
#

o...kay

native talon
night spade
#

this seems like your slash command code as a whole is messed up