Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete message and Embed. #12

Open
deleted-1 opened this issue Jun 24, 2019 · 0 comments
Open

Delete message and Embed. #12

deleted-1 opened this issue Jun 24, 2019 · 0 comments

Comments

@deleted-1
Copy link

Add an embed and deleting the command message to make it look a bit cleaner.

embed = discord.Embed(description=data,colour=(214, 25, 25))
embed.set_footer(text='Voting Bot',icon_url=client.user.icon_url)
message.channel.send(embed)
delete_message(message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant