Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skrphenix committed Jul 1, 2023
1 parent a28a4e4 commit eaabd4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ using **`GIT`**

# QuickStart

To use `discord_cooldown` in cogs or multiple files, go through the template:
[cooldown-bot-template](/~https://github.com/Modern-Realm/cooldown-bot-template)

```python
from discord_cooldown import Cooldown, SQlite, MySQL, PostgreSQL

Expand Down Expand Up @@ -139,8 +142,8 @@ async def test(ctx):
await ctx.send("testing")


@CD.cooldown(3, 3 * 60, type=commands.BucketType.channel)
@client.slash_command()
@CD.cooldown(3, 3 * 60, type=commands.BucketType.channel)
async def slash_test(ctx):
await ctx.respond("slash command")

Expand All @@ -166,10 +169,11 @@ if __name__ == "__main__":

<hr/>

# Project Links
# Useful Links

You can get support/help/guidance from below social-media links

- [Home Page](/~https://github.com/Modern-Realm)
- [Official Discord Server](https://discord.gg/GVMWx5EaAN)
- [PyPi Package](https://pypi.org/project/discord-cooldown/)
- [CONTRIBUTING.md](/~https://github.com/Modern-Realm/discord_cooldown/blob/main/.github/CONTRIBUTING.md)

0 comments on commit eaabd4a

Please sign in to comment.