Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thegoldenpro/cloudy_bot
☁️ A simple & basic Discord API wrapper built on top of nextcore. [WIP]
https://github.com/thegoldenpro/cloudy_bot
cloudy cloudy-bot cloudy-wrapper discord-api-wrapper nextcore
Last synced: 3 months ago
JSON representation
☁️ A simple & basic Discord API wrapper built on top of nextcore. [WIP]
- Host: GitHub
- URL: https://github.com/thegoldenpro/cloudy_bot
- Owner: THEGOLDENPRO
- License: mit
- Created: 2023-07-25T08:54:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-16T22:32:55.000Z (over 1 year ago)
- Last Synced: 2023-08-16T23:36:20.685Z (over 1 year ago)
- Topics: cloudy, cloudy-bot, cloudy-wrapper, discord-api-wrapper, nextcore
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ☁️ Cloudy
A simple & basic Discord API wrapper built on top of [nextcore](https://github.com/nextsnake/nextcore).
> *Cloudy is a Discord API wrapper I decided to make because I wanted to escape the harsh reality of working on my Discord bot framework [Goldy Bot V5](https://github.com/Goldy-Bot/Goldy-Bot-V5).*
> ### ⚠️ Work in progress...
## *WHAT DA HELL! WHAT IS WRONG WITH YOU PYTHON DEVELOPERS? ANOTHER FU#KING DISCORD API WRAPPER!!!*
Yes, another fu#king python Discord API wrapper; but *let me 🍲cook this time...*- **Quick to script.** Cloudy is built for quick write-ups, before you know it you essentially have a functioning bot.
- **The Design is Very Human!** Even a script kiddy would know what they're doing.
- **Lightweight,** I try to keep the codebase as lite and least complex as possible, mostly for maintainability reasons.
- **Fast as fu#k!** Yeah *totally* all because of my hard work. [~~nextcore~~](https://github.com/nextsnake/nextcore)
- **Touch the low-end even harder!!! 😳** *wait what...* alright this is getting out of hand now...*ANYWAYS, here's some code:*
```python
from cloudy.impl import Bot, Dropletbot = Bot()
@bot.command()
async def ping(droplet: Droplet):
await droplet.send("Pong!")bot.run()
```
> #### Hate it? ~~Skill issue.~~
### Where do I pass my bot token?
Cloudy by default uses the ``BOT_TOKEN`` environment variable so we recommend using ``.env`` files to store your bot token and other sensitive information.Just create a file named ``.env`` and enter your bot token like so:
```env
BOT_TOKEN="..."
```
*~~"you can pass it in bot class"~~*