discord.py annoucement command code example
Example: Discord Announcement bot python
import time
from discord_webhook import DiscordWebhook
from discord_webhook import DiscordEmbed
InfoUser = input("What Should Be The Text in Your 1st Line: ")
InfoPass = input("What Should Be The Text in Your 2st Line:: ")
webhook = DiscordWebhook(url='Your WebHook Url Here')
EveryonePing = DiscordWebhook(url='Your WebHook Url Here', content="@everyone")
embed = DiscordEmbed(title='Announcement', description="@everyone" + "```" + InfoUser + "```" + "```" + "" + InfoPass + "```", color=242424)
webhook.add_embed(embed)
PingingAll = EveryonePing.execute()
response = webhook.execute()
time.sleep(100000)