https://github.com/aweirddev/discord_webhook_components
https://github.com/aweirddev/discord_webhook_components
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aweirddev/discord_webhook_components
- Owner: AWeirdDev
- Created: 2021-12-25T07:53:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T06:04:41.000Z (about 4 years ago)
- Last Synced: 2025-01-24T12:32:30.864Z (over 1 year ago)
- Language: Python
- Size: 39.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This repo is outdated, please use [dishook](https://github.com/AWeirdScratcher/dishook)
# Setting up `discord_webhook_components`
## Quick Start
> 1. Download the files [here](https://github.com/AWeirdScratcher/discord_webhook_components/tree/main/discord_webhook_components), or [download the zipped files](https://github.com/AWeirdScratcher/discord_webhook_components/releases/tag/discord)
> 2. Add your python file in the same directory where the downloaded file is.
> 3. Add these codes:
***VERY IMPORTANT***
```ini
[If you don't add the codes below, discord_webhook_components will not work!]
```
```py
from discord_webhook_components import * # import everything in the module
import discord
from discord.ext import commands
client = commands.Bot(command_prefix="your command prefix")
#@client.event
#async def on_ready():
# print("ready")
```
> ...and that's all you gotta do for the **setup**! *You can now start coding with discord_webhook_components!*
> You can try out our [examples](https://github.com/AWeirdScratcher/discord_webhook_components/tree/main/examples), too!
***
## How about replit?
[Click here to learn more!](https://github.com/AWeirdScratcher/discord_webhook_components/wiki/What-about-replit%3F)
## Still need help?
Contact me at discord!
Help server is [right here](https://discord.gg/u4DvHYWZph).