cleanup unused discord import (#1073)

This commit is contained in:
Karol Wypchło 2021-08-17 09:58:00 +02:00 committed by GitHub
parent fc4a107c21
commit 1c8816530c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3
import traceback, os, re, asyncio, requests, json, discord
import traceback, os, re, asyncio, requests, json
from bot_utils import setup, send_msg
from random import randint
from time import sleep

View File

@ -6,7 +6,7 @@ from pathlib import Path
from datetime import datetime
from discord_webhook import DiscordWebhook
import urllib, json, os, traceback, discord, sys, re, subprocess, requests, io
import urllib, json, os, traceback, sys, re, subprocess, requests, io
# Load dotenv file if possible.
# TODO: change all scripts to use named flags/params

View File

@ -5,7 +5,7 @@ funds-checker runs simple checks on a portal node using the siad API and
dispatches messages to a Discord channel.
"""
import discord, traceback, asyncio, os
import traceback, asyncio, os
from bot_utils import setup, send_msg, siad, sc_precision
setup()

View File

@ -9,7 +9,6 @@ import time
import traceback
from datetime import datetime, timedelta
import discord
import requests
from bot_utils import setup, send_msg, get_docker_container_ip