Commit cc49577 1 parent 5189eaf commit cc49577 Copy full SHA for cc49577
File tree 3 files changed +5
-7
lines changed
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 23
23
from jishaku .repl .scope import Scope
24
24
from jishaku .repl .walkers import KeywordTransformer
25
25
26
- CORO_CODE = f """
27
- async def _repl_coroutine({{0} }):
26
+ CORO_CODE = """
27
+ async def _repl_coroutine({0 }):
28
28
import asyncio
29
- from importlib import import_module as { import_expression .constants .IMPORTER }
30
29
31
30
import aiohttp
32
31
import discord
Original file line number Diff line number Diff line change 22
22
23
23
from jishaku .repl .scope import Scope
24
24
25
- CORO_CODE = f """
25
+ CORO_CODE = """
26
26
import asyncio
27
27
28
28
import discord
29
29
from discord.ext import commands
30
- from importlib import import_module as { import_expression .constants .IMPORTER }
31
30
32
31
import jishaku
33
32
34
- async def _repl_coroutine({{0} }):
33
+ async def _repl_coroutine({0 }):
35
34
pass
36
35
"""
37
36
Original file line number Diff line number Diff line change 1
1
braceexpand >= 0.1.7
2
2
click >= 8.1.7
3
3
discord.py >= 2.3.2
4
- import_expression >= 1.1.4 , < 2 .0.0
4
+ import_expression >= 2.0.0 , < 3 .0.0
5
5
tabulate >= 0.9.0
6
6
typing-extensions >= 4.3, < 5
7
7
importlib_metadata >= 3.7.0; python_version < "3.10"
You can’t perform that action at this time.
0 commit comments