cleanup unused discord import (#1073)
This commit is contained in:
parent
fc4a107c21
commit
1c8816530c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue