AI toggle
This commit is contained in:
parent
ad4464488b
commit
cf57cec114
@ -1,10 +1,10 @@
|
|||||||
import os
|
|
||||||
import nextcord
|
import nextcord
|
||||||
from nextcord.ext import commands
|
from nextcord.ext import commands
|
||||||
import requests
|
|
||||||
import openai
|
import openai
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
Enabled = false
|
||||||
|
|
||||||
SquogAILink = "https://api.webraft.in/v1"
|
SquogAILink = "https://api.webraft.in/v1"
|
||||||
SquogAIToken = "wr-tmkosxfStCjKSKsUJZueAS"
|
SquogAIToken = "wr-tmkosxfStCjKSKsUJZueAS"
|
||||||
|
|
||||||
@ -42,6 +42,9 @@ class AI(commands.Cog):
|
|||||||
print(message.content)
|
print(message.content)
|
||||||
await self.client.process_commands(message)
|
await self.client.process_commands(message)
|
||||||
|
|
||||||
|
if not Enabled:
|
||||||
|
return
|
||||||
|
|
||||||
SquogMention = False
|
SquogMention = False
|
||||||
|
|
||||||
for Mention in message.mentions:
|
for Mention in message.mentions:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user