mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-09-30 00:57:42 +13:00
double not defined
This commit is contained in:
parent
c217b02d80
commit
9961227ef6
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class ScriptCog:
|
||||||
await self.bot.say("Maximum number of words is now {}".format(self.word_limit))
|
await self.bot.say("Maximum number of words is now {}".format(self.word_limit))
|
||||||
|
|
||||||
@commands.command(pass_context=True)
|
@commands.command(pass_context=True)
|
||||||
async def genscript(self, ctx, num_words : int = 100, temp : double = 0.5 ):
|
async def genscript(self, ctx, num_words : int = 100, temp : float = 0.5 ):
|
||||||
if ctx.invoked_subcommand is None:
|
if ctx.invoked_subcommand is None:
|
||||||
await self.bot.say("Usage: genscript num_words randomness(between 0 and 1)")
|
await self.bot.say("Usage: genscript num_words randomness(between 0 and 1)")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue