Added coolness factor
This commit is contained in:
parent
dbf4fa2d61
commit
e4904c1098
4
bot.py
4
bot.py
|
|
@ -1,4 +1,5 @@
|
||||||
from genericpath import exists
|
from genericpath import exists
|
||||||
|
from random import random
|
||||||
import subprocess
|
import subprocess
|
||||||
import json
|
import json
|
||||||
import discord
|
import discord
|
||||||
|
|
@ -42,7 +43,8 @@ async def say(ctx, message):
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def cool(ctx):
|
async def cool(ctx):
|
||||||
await ctx.send(f'{ctx.author} is cool!')
|
cool_factor = random.uniform(0, 100)
|
||||||
|
await ctx.send(f'{ctx.author} is {cool_factor} cool!')
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def update(ctx):
|
async def update(ctx):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user