summaryrefslogtreecommitdiff
path: root/AyaBot/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-07-08 09:24:16 +0800
committerKyomotoi <[email protected]>2020-07-08 09:24:16 +0800
commit1202c5d904060745ffab2d9ebbf2ad52fbc8dd0d (patch)
tree51abeb91bef067e5988495ffe2ef8aba278d1806 /AyaBot/plugins
parent1da04936a85bd3599aa975bafe30d1f88d9d5c9a (diff)
downloadATRI-1202c5d904060745ffab2d9ebbf2ad52fbc8dd0d.tar.gz
ATRI-1202c5d904060745ffab2d9ebbf2ad52fbc8dd0d.tar.bz2
ATRI-1202c5d904060745ffab2d9ebbf2ad52fbc8dd0d.zip
[FIX] delete unnecessary import
Diffstat (limited to 'AyaBot/plugins')
-rw-r--r--AyaBot/plugins/pixiv.py1
-rw-r--r--AyaBot/plugins/translate.py6
2 files changed, 0 insertions, 7 deletions
diff --git a/AyaBot/plugins/pixiv.py b/AyaBot/plugins/pixiv.py
index 50d7159..24e5eae 100644
--- a/AyaBot/plugins/pixiv.py
+++ b/AyaBot/plugins/pixiv.py
@@ -1,5 +1,4 @@
import json
-import nonebot
import requests
from nonebot import on_command, CommandSession
diff --git a/AyaBot/plugins/translate.py b/AyaBot/plugins/translate.py
index 6bbb707..1d017de 100644
--- a/AyaBot/plugins/translate.py
+++ b/AyaBot/plugins/translate.py
@@ -1,10 +1,4 @@
# -*- coding:utf-8 -*-
-import re
-import demjson
-import requests
-from os import path
-from pprint import pformat, pprint
-from urllib.parse import urlencode
from nonebot import on_command, CommandSession
from AyaBot.plugins.module import google_translate