From 9961227ef6bf6e09c20f5b9478d1585661d10e2c Mon Sep 17 00:00:00 2001 From: brandons209 Date: Sat, 19 Jan 2019 19:55:25 -0500 Subject: [PATCH] double not defined --- script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.py b/script.py index cf0e56c..6cdc027 100644 --- a/script.py +++ b/script.py @@ -86,7 +86,7 @@ class ScriptCog: await self.bot.say("Maximum number of words is now {}".format(self.word_limit)) @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: await self.bot.say("Usage: genscript num_words randomness(between 0 and 1)") return