Skip to content

Commit a99b32a

Browse files
author
Foxlet
committed
Prettify.
1 parent 6f046ce commit a99b32a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/issafe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def issafe(text):
3333
parsed = requests.get(API_SB, params={"url": text, "client": "cloudbot", "key": dev_key, "pver": "3.1", "appver": str(cloudbot.__version__)})
3434

3535
if parsed.status_code == 204:
36-
condition = "This website is safe."
36+
condition = "\x02{}\x02 is safe.".format(text)
3737
else:
38-
condition = "This site is known to contain: {}".format(parsed.text)
38+
condition = "\x02{}\x02 is known to contain: {}".format(text, parsed.text)
3939
return condition

0 commit comments

Comments
 (0)