update strings as blockcode
This commit is contained in:
parent
2ea654f344
commit
0c54776541
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ async def on_ready():
|
||||||
@bot.command(name='hello')
|
@bot.command(name='hello')
|
||||||
async def hello(ctx):
|
async def hello(ctx):
|
||||||
author_name = ctx.author.name
|
author_name = ctx.author.name
|
||||||
await ctx.channel.send(f'hi, {author_name}! >^.^<')
|
await ctx.channel.send(f'```hi, {author_name} >^.^<```')
|
||||||
|
|
||||||
@bot.command(name='epg')
|
@bot.command(name='epg')
|
||||||
async def epg(ctx):
|
async def epg(ctx):
|
||||||
|
@ -64,11 +64,11 @@ async def epg(ctx):
|
||||||
epg_list = live_list + scheduled_list
|
epg_list = live_list + scheduled_list
|
||||||
await ctx.channel.send(f'```{epg_list}```')
|
await ctx.channel.send(f'```{epg_list}```')
|
||||||
else:
|
else:
|
||||||
await ctx.channel.send('Empty database!')
|
await ctx.channel.send('`Empty database!`')
|
||||||
|
|
||||||
@bot.command(name='time')
|
@bot.command(name='time')
|
||||||
async def time(ctx):
|
async def time(ctx):
|
||||||
await ctx.channel.send(f'The time is: {datetime.now()} UTC')
|
await ctx.channel.send(f'```The time is: {datetime.now()} UTC```')
|
||||||
|
|
||||||
# Helper functions
|
# Helper functions
|
||||||
async def update_database():
|
async def update_database():
|
||||||
|
|
Loading…
Reference in a new issue