Skip to content

Commit

Permalink
Small fix to let us @ people again.
Browse files Browse the repository at this point in the history
Fixes #20 and #22.
  • Loading branch information
KaitlinMS committed Sep 9, 2021
1 parent a1c8ffa commit 610946d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In Terminal on a Mac, navigate to the directory and run:
python3 bot.py
```

In the Command Prompt on Windows, navigate to the directory and run:
In the Command Prompt or Power Shell on Windows, navigate to the directory and run:
```
python bot.py
```
Expand Down
7 changes: 6 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@
from giphy_client.rest import ApiException
from pprint import pprint

# Set up intents
intents = discord.Intents.default()
intents.members = True # Lets us @ people. There is also a required setting in the Discord app portal.


TOKEN = 'NzA4NTExMjc1NjQxOTk1Mjg1.XrYa7Q.CsHp1Qym_MWG6t233YdZvGAldcU'

# Create an instance of the bot
bot = discord.Client();
bot = discord.Client(intents = intents);

bot.server = None

Expand Down

0 comments on commit 610946d

Please sign in to comment.