Load twitch and profile modules
This commit is contained in:
@@ -76,6 +76,7 @@ async def main():
|
|||||||
config=conf,
|
config=conf,
|
||||||
initial_extensions=[
|
initial_extensions=[
|
||||||
'core',
|
'core',
|
||||||
|
'twitch',
|
||||||
'modules',
|
'modules',
|
||||||
],
|
],
|
||||||
web_client=session,
|
web_client=session,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
this_package = 'modules'
|
this_package = 'modules'
|
||||||
|
|
||||||
active = [
|
active = [
|
||||||
|
'.profiles',
|
||||||
'.sysadmin',
|
'.sysadmin',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ from discord.ext import commands as cmds
|
|||||||
from twitchAPI.helper import first
|
from twitchAPI.helper import first
|
||||||
from twitchAPI.type import AuthScope
|
from twitchAPI.type import AuthScope
|
||||||
import twitchio
|
import twitchio
|
||||||
from twitchio.ext import commands
|
|
||||||
from twitchio import User
|
|
||||||
from twitchAPI.object.api import TwitchUser
|
from twitchAPI.object.api import TwitchUser
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,8 @@ import discord
|
|||||||
from discord.ext import commands as cmds
|
from discord.ext import commands as cmds
|
||||||
|
|
||||||
from twitchAPI.oauth import UserAuthenticator
|
from twitchAPI.oauth import UserAuthenticator
|
||||||
from twitchAPI.twitch import AuthType, Twitch
|
from twitchAPI.twitch import Twitch
|
||||||
from twitchAPI.type import AuthScope
|
from twitchAPI.type import AuthScope
|
||||||
import twitchio
|
|
||||||
from twitchio.ext import commands
|
from twitchio.ext import commands
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user