# import os # # import pickle # import discord # intents = discord.Intents.default() # intents.message_content = True # client = discord.Client(intents=intents) # # model_pipe = pickle.load(open('pipe.pkl', 'rb')) # @client.event # async def on_ready(): # print(f'We have logged in as {client.user}') # @client.event # async def on_message(message): # if message.author == client.user: # return # if message.content.startswith('$hello'): # print(message.content) # # await message.channel.send(model_pipe.predict([message.content])) # await message.channel.send('Hello from hugging face') # client.run("MTA3NjU3MDc3MDYzMDc5MTIxOA.GvxRm6.Lm7ZDPwrkmz0AqrUxkxTRXKcObCzswDMfNpCIc")