Created
February 26, 2021 10:25
-
-
Save Kakarot-2000/34a82ed9663f709f6dc8ae31f243cdcf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@bot.event | |
async def on_ready(): | |
for guild in bot.guilds: | |
for channel in guild.text_channels : | |
if str(channel) == "general" : | |
await channel.send('Bot Activated..') | |
await channel.send(file=discord.File('add_gif_file_name_here.png')) | |
print('Active in {}\n Member Count : {}'.format(guild.name,guild.member_count)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment