Skip to content

Commit

Permalink
Merge pull request #22 from notsniped/fix-client-intents
Browse files Browse the repository at this point in the history
Fix bug where deleted or edited messages were not read
  • Loading branch information
notsniped authored May 18, 2023
2 parents 5c6efb4 + 0f6d83b commit 26b0f36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
botVer = 'v1.2.1'
if os.name == 'nt': os.system('cls')
else: os.system('clear')
client = discord.Bot() # READ COMMENT AT LINE 13 FOR MORE INFO
intents = discord.Intents.default()
intents.message_content = (True)
client = discord.Bot(intents=intents) # READ COMMENT AT LINE 13 FOR MORE INFO
global startTime
startTime = time.time()
homedir = os.getcwd()
Expand Down

0 comments on commit 26b0f36

Please sign in to comment.