Compare commits
3
Commits
master
...
oldversion
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9c6e6ce80 | ||
|
|
89c618e7bc | ||
|
|
09882ef75d |
@@ -7,7 +7,7 @@ dev:
|
||||
docker-compose -f docker-compose.yml up -d --build --force-recreate --remove-orphans dev
|
||||
prod:
|
||||
docker-compose -f docker-compose.yml up -d --build --force-recreate --remove-orphans prod
|
||||
build: update
|
||||
build:
|
||||
docker-compose -f docker-compose.yml build prod
|
||||
push: build
|
||||
docker-compose -f docker-compose.yml push prod
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@ import requests
|
||||
import discord
|
||||
|
||||
from discord.ext import commands, tasks
|
||||
from config.config import ialab_bot_url, cluster
|
||||
from config.config import cluster
|
||||
from rich import print
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class IALab(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot, **kwargs):
|
||||
"""Initialize the ialab cog."""
|
||||
super().__init__(**kwargs)
|
||||
self.url = ialab_bot_url
|
||||
self.url = os.environ["IALAB_URL"]
|
||||
self.bot = bot
|
||||
|
||||
@commands.command()
|
||||
|
||||
@@ -7,7 +7,6 @@ import requests
|
||||
import discord
|
||||
|
||||
from discord.ext import commands, tasks
|
||||
from config.config import ialab_bot_url, cluster
|
||||
from rich import print
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ link = "https://discordapp.com/oauth2/authorize?&client_id=703347349623144549&sc
|
||||
prefix = os.environ.get("DISCORD_PREFIX") or "."
|
||||
masters = [478552571510915072] # , 219949869220102147]
|
||||
wolfram = wolframalpha.Client(wolfram_alpha_id)
|
||||
ialab_bot_url = os.environ.get("IALAB_URL") or "https://ialab.marcpartensky.com"
|
||||
|
||||
roles = ["@Maître", "@Admin"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user