async def _setgender(self, ctx, arg1): """Set the gender of your God to something else!""" god = database.getBeliever(ctx.author.id, ctx.guild.id).God if god: if len(arg1) > 19: await ctx.send( "Please choose a gender that's not longer than 19 characters!" ) return database.setGender(god.ID, arg1) await ctx.send("Gender successfully set to: " + arg1 + "!")
async def _forcesetgender(self, ctx, *args): """Set the gender of a God to something else!""" if len(args) < 2: await ctx.send("Include both a name and a gender!") return god = database.getGodName(args[0], ctx.guild.id) if god: if len(args[1]) > 19: await ctx.send("Please choose a gender that's not longer than 19 characters!") return database.setGender(god.ID, args[1]) await ctx.send("Gender successfully set to: " + args[1] + "!")