Skip to content

Commit 2c22c37

Browse files
authored
Merge pull request CloudBotIRC#170 from typoguy/gonzobot
Updated script to the new domain and added another command trigger to reflect the new domain
2 parents 0dd279d + a55c4d2 commit 2c22c37

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/randomusefulwebsites.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from cloudbot import hook
22
import requests
33

4-
url = 'http://randomusefulwebsites.com/jump.php'
5-
headers = {'Referer': 'http://randomusefulwebsites.com'}
4+
url = 'http://www.discuvver.com/jump2.php'
5+
headers = {'Referer': 'http://www.discuvver.com'}
66

7-
@hook.command('randomusefulsite', 'randomwebsite', 'randomsite')
7+
@hook.command('randomusefulsite', 'randomwebsite', 'randomsite', 'discuvver')
88
def randomusefulwebsite():
99
response = requests.head(url, headers=headers, allow_redirects=True)
1010
return response.url

0 commit comments

Comments
 (0)