Make title and description optional (create_embed)
This commit is contained in:
parent
4e8030eca4
commit
ebe1d8fe53
@ -283,7 +283,11 @@ Template for embeds
|
|||||||
|
|
||||||
|
|
||||||
def create_embed(
|
def create_embed(
|
||||||
title: str, description: str, color=None, footer=None, thumbnail=None
|
title: str = None,
|
||||||
|
description: str = None,
|
||||||
|
color=None,
|
||||||
|
footer=None,
|
||||||
|
thumbnail=None,
|
||||||
):
|
):
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title=title,
|
title=title,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user