From e4c5eb6c2a1547e0d7539bcba3e9b54af78a1b20 Mon Sep 17 00:00:00 2001 From: Zac Herd Date: Sun, 6 Jan 2019 13:34:35 +0000 Subject: [PATCH] v.1.2.1, security update for requests dependency --- commands.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.py b/commands.py index 8765b4c..0600ff6 100755 --- a/commands.py +++ b/commands.py @@ -165,7 +165,7 @@ def cmd_roll(client, msg): modifier = -modifier # limit ranges - numdice = clamp(numdice, 1, 10) + numdice = clamp(numdice, 1, 100) diceval = clamp(diceval, 1, 1000) # roll and sum dice diff --git a/requirements.txt b/requirements.txt index 93201a8..78ed029 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ discord.py==0.15.1 -requests==2.4.3 +requests>=2.20.0