remove credentials
This commit is contained in:
parent
f74d152d81
commit
310c4288a4
1 changed files with 7 additions and 4 deletions
|
@ -14,6 +14,7 @@ import os
|
|||
import random
|
||||
import requests
|
||||
import youtube_dl
|
||||
import configparser
|
||||
|
||||
from bs4 import BeautifulSoup as bs
|
||||
from discord.ext import tasks, commands
|
||||
|
@ -536,10 +537,12 @@ def get_word(word_type):
|
|||
#Le do[main]e de Kabot.
|
||||
def main():
|
||||
logger.info("Initialisation de Kabot")
|
||||
token = "NjI3MTM3NDY1MDA5ODMxOTQ2.Xxl5dg.-eXs6op39SyB1psp4QZIXv7kPuY"
|
||||
gl_url = 'https://git.0w.tf/'
|
||||
gl_token = 'f_CzDU_3FzMCMfAqDiCq'
|
||||
gif_token = "udhL9Rgdme3HpAoFhWVZoYM0l0XwkzLz"
|
||||
config = configparser.ConfigParser()
|
||||
config.read('config.ini')
|
||||
token = config['discord']['token']
|
||||
gl_url = config['gitlab']['url']
|
||||
gl_token = config['gitlab']['token']
|
||||
gif_token = config['giphy']['token']
|
||||
bot = commands.Bot(
|
||||
command_prefix='!',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue