remove credentials

This commit is contained in:
Milka64 2020-12-26 23:46:02 +01:00
parent f74d152d81
commit 310c4288a4

View file

@ -14,6 +14,7 @@ import os
import random import random
import requests import requests
import youtube_dl import youtube_dl
import configparser
from bs4 import BeautifulSoup as bs from bs4 import BeautifulSoup as bs
from discord.ext import tasks, commands from discord.ext import tasks, commands
@ -536,10 +537,12 @@ def get_word(word_type):
#Le do[main]e de Kabot. #Le do[main]e de Kabot.
def main(): def main():
logger.info("Initialisation de Kabot") logger.info("Initialisation de Kabot")
token = "NjI3MTM3NDY1MDA5ODMxOTQ2.Xxl5dg.-eXs6op39SyB1psp4QZIXv7kPuY" config = configparser.ConfigParser()
gl_url = 'https://git.0w.tf/' config.read('config.ini')
gl_token = 'f_CzDU_3FzMCMfAqDiCq' token = config['discord']['token']
gif_token = "udhL9Rgdme3HpAoFhWVZoYM0l0XwkzLz" gl_url = config['gitlab']['url']
gl_token = config['gitlab']['token']
gif_token = config['giphy']['token']
bot = commands.Bot( bot = commands.Bot(
command_prefix='!', command_prefix='!',
) )