Metadata-Version: 2.1
Name: UBPY
Version: 2.0
Summary: UniqueBot python SDK
Home-page: https://github.com/popop098/UBPY
Author: Gawi_pr
Author-email: popop098@naver.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: aiohttp

# UBPY
# UniqueBots 파이썬 **비공식** SDK입니다.
# 공식 SDK- (준비중입니다.)
### SaidBySolo님의 KoreanBots비공식 sdk레포의 일부를 사용해 제작되었습니다. [URL](<https://github.com/SaidBySolo/DBKR-API-Python>)

### 현재는 길드수업데이트 모듈만 존재합니다, 이 모듈은 자동으로 1시간마다 자동으로 요청을 보내고 따로 길드수를 비교하는 함수는 필요가 없습니다.

### 파이썬 3.6이상을 필요로 합니다.

```
pip install UBPY --upgrade
```

##길드 수 업데이트

**Use not Cogs**
```py
import discord
from discord.ext import commands
import UBPY
bot = commands.Bot(command_prefix='!')
#or
bot = discord.Client()

UBPY.Client(bot,token='UniqueBots TOKEN',bot_id="BOT ID")

@bot.event
async def on_ready():
    print(f"{bot.user.name} 준비 완료.")

bot.run('Discord TOKEN')
```

**Using Cogs**
```py
import UBPY
import discord
from discord.ext import commands

class GuildCount(commands.Cog):

    def __init__(self, bot):
        self.bot = bot
        self.token = "UniqueBots TOKEN"
        self.id = "Bot ID"
        UBPY.Client(self.bot,self.token,self.id)

def setup(bot):
    bot.add_cog(GuildCount(bot))
```


