adding newgreentexts to the list of subreddits for the greentext commma d
This commit is contained in:
parent
836d47ada1
commit
dda7a27c94
10
app/bot.py
10
app/bot.py
@ -44,13 +44,7 @@ async def on_ready():
|
|||||||
print(f'{bot.user.name} has connected to Discord!')
|
print(f'{bot.user.name} has connected to Discord!')
|
||||||
game = discord.Game("Type !help")
|
game = discord.Game("Type !help")
|
||||||
await bot.change_presence(status=discord.Status.online, activity=discord.Activity(type=discord.ActivityType.listening, name="type !help"))
|
await bot.change_presence(status=discord.Status.online, activity=discord.Activity(type=discord.ActivityType.listening, name="type !help"))
|
||||||
|
await bot.get_channel(152921472304676865).send("I have reconnected")
|
||||||
# @bot.event
|
|
||||||
# async def on_member_join(member):
|
|
||||||
# await member.create_dm()
|
|
||||||
# await member.dm_channel.send(
|
|
||||||
# f'Hi {member.name}, welcome to my ths server!'
|
|
||||||
# )
|
|
||||||
|
|
||||||
@bot.command(name='ask')
|
@bot.command(name='ask')
|
||||||
async def ask(ctx):
|
async def ask(ctx):
|
||||||
@ -264,7 +258,7 @@ async def greentext(ctx):
|
|||||||
embed=generate_embed(
|
embed=generate_embed(
|
||||||
embed_title='>implying this actually happened',
|
embed_title='>implying this actually happened',
|
||||||
embed_color=discord.Color.green(),
|
embed_color=discord.Color.green(),
|
||||||
embed_url=get_from_reddit.get_image(boards=['greentext', '4chan'])
|
embed_url=get_from_reddit.get_image(boards=['greentext', 'newgreentexts', '4chan'])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user