Skip to content

Commit

Permalink
edit README and added Update by your own feature
Browse files Browse the repository at this point in the history
  • Loading branch information
nabil-ak committed Jun 3, 2021
1 parent c9da7ac commit 0b84c6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CryptoNotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ async def on_ready(self):
self.currentWallet.start()

async def on_message(self, message):
if message.author == client.user:
return
await self.currentWallet()
if message.author != client.user and message.channel.id == settings["channelID"]:
await self.currentWallet()
return

@tasks.loop(hours=1)
async def currentWallet(self):
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pip install -r requirements.txt
## Usage
Just run ```CryptoNotify.py```

**The Bot will update the Wallet every hour. If you want to update the Wallet by your own just write something in the Notification Channel.**
## Notification
![](message.png)

Expand Down

0 comments on commit 0b84c6d

Please sign in to comment.