Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunho/simple-discordpy
simplified discord py for coding education
https://github.com/sunho/simple-discordpy
Last synced: 25 days ago
JSON representation
simplified discord py for coding education
- Host: GitHub
- URL: https://github.com/sunho/simple-discordpy
- Owner: sunho
- License: mit
- Created: 2019-09-17T06:25:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-12T01:44:55.000Z (over 4 years ago)
- Last Synced: 2024-09-13T02:30:01.251Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# simple-discordpy
Targetting students who learn python for the first time, this library wraps discord.py to eliminate the complex syntaxes such as await and class.
The library was able to motivate the students I taught by enabling them to use python for applications in real world without learning extra notions.
## Installation
simple-discordpy can be installed with the following command.
```
pip install simple-discordpy
```I recommend [repl.it](https://repl.it). It supports installing pip package in "packages" tab. Just search "simple-discordpy" there.
## Example
As the features of this libray is limited, almost all of them can be covered just by the following example.
```python
from sd import *
sdstart('discord token') # start the botsdprint("input a") # send discord message
a=sdinput() # receive a string from user through discord
sdprint("a", a)
sdstop() # stops the bot
```