We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5189eaf commit 9b39d39Copy full SHA for 9b39d39
jishaku/repl/compilation.py
@@ -23,10 +23,9 @@
23
from jishaku.repl.scope import Scope
24
from jishaku.repl.walkers import KeywordTransformer
25
26
-CORO_CODE = f"""
27
-async def _repl_coroutine({{0}}):
+CORO_CODE = """
+async def _repl_coroutine({0}):
28
import asyncio
29
- from importlib import import_module as {import_expression.constants.IMPORTER}
30
31
import aiohttp
32
import discord
requirements/_.txt
@@ -1,7 +1,7 @@
1
braceexpand >= 0.1.7
2
click >= 8.1.7
3
discord.py >= 2.3.2
4
-import_expression >= 1.1.4, < 2.0.0
+import_expression >= 2.0.0, < 3.0.0
5
tabulate >= 0.9.0
6
typing-extensions >= 4.3, < 5
7
importlib_metadata >= 3.7.0; python_version < "3.10"
0 commit comments