Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Commit

Permalink
Use https over http across the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
TsunayoshiSawada committed Jul 19, 2020
1 parent 6678fac commit 37dd474
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![Saitama](https://wallpaperscave.com/images/original/18/04-25/anime-one-punch-man-44886.jpg)
# Saitama Robot
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6141417ceaf84545bab6bd671503df51)](https://app.codacy.com/gh/AnimeKaizoku/SaitamaRobot?utm_source=github.com&utm_medium=referral&utm_content=AnimeKaizoku/SaitamaRobot&utm_campaign=Badge_Grade_Settings) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) [![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html) [![Open Source Love svg2](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6141417ceaf84545bab6bd671503df51)](https://app.codacy.com/gh/AnimeKaizoku/SaitamaRobot?utm_source=github.com&utm_medium=referral&utm_content=AnimeKaizoku/SaitamaRobot&utm_campaign=Badge_Grade_Settings) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) [![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://perso.crans.org/besson/LICENSE.html) [![Open Source Love svg2](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)


A modular Telegram Python bot running on python3 with a sqlalchemy database.
Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/gettime.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

def generate_time(to_find: str, findtype: List[str]) -> str:
data = requests.get(
f"http://api.timezonedb.com/v2.1/list-time-zone"
f"https://api.timezonedb.com/v2.1/list-time-zone"
f"?key={TIME_API_KEY}"
f"&format=json"
f"&fields=countryCode,countryName,zoneName,gmtOffset,timestamp,dst"
Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/global_bans.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def gban(update: Update, context: CallbackContext):

if reason:
if chat.type == chat.SUPERGROUP and chat.username:
log_message += f"\n<b>Reason:</b> <a href=\"http://telegram.me/{chat.username}/{message.message_id}\">{reason}</a>"
log_message += f"\n<b>Reason:</b> <a href=\"https://telegram.me/{chat.username}/{message.message_id}\">{reason}</a>"
else:
log_message += f"\n<b>Reason:</b> <code>{reason}</code>"

Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/grammar_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Open API key
GRAMMAR_API_KEY = "6ae0c3a0-afdc-4532-a810-82ded0054236"
URL = "http://services.gingersoftware.com/Ginger/correct/json/GingerTheText"
URL = "https://services.gingersoftware.com/Ginger/correct/json/GingerTheText"


def translate(update: Update, context: CallbackContext):
Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def info(update: Update, context: CallbackContext):
disaster_level_present = True

if disaster_level_present:
text += ' [<a href="http://t.me/{}?start=disasters">?</a>]'.format(
text += ' [<a href="https://t.me/{}?start=disasters">?</a>]'.format(
bot.username)

try:
Expand Down
2 changes: 1 addition & 1 deletion SaitamaRobot/modules/ud.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def ud(update: Update, context: CallbackContext):
message = update.effective_message
text = message.text[len('/ud '):]
results = requests.get(
f'http://api.urbandictionary.com/v0/define?term={text}').json()
f'https://api.urbandictionary.com/v0/define?term={text}').json()
try:
reply_text = f'*{text}*\n\n{results["list"][0]["definition"]}\n\n_{results["list"][0]["example"]}_'
except:
Expand Down

0 comments on commit 37dd474

Please sign in to comment.