UniqueBot python SDK
Project description
UBPY
UniqueBot 파이썬 비공식 SDK입니다.
SaidBySolo님의 KoreanBots비공식 sdk레포의 일부를 사용해 제작되었습니다. URL
현재는 길드수업데이트 모듈만 존재합니다, 이 모듈은 자동으로 1시간마다 자동으로 요청을 보내고 따로 길드수를 비교하는 함수는 필요가 없습니다.
파이썬 3.6이상을 필요로 합니다.
Using Cogs
from UBPY import PostGuilds
import discord
from discord.ext import commands
class GuildCount(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.token = "UniqueBot TOKEN"
PostGuilds.UpdateGuilds(self.bot,self.token)
def setup(bot):
bot.add_cog(GuildCount(bot))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
UBPY-1.0.tar.gz
(2.9 kB
view details)
Built Distribution
UBPY-1.0-py3-none-any.whl
(4.1 kB
view details)
File details
Details for the file UBPY-1.0.tar.gz
.
File metadata
- Download URL: UBPY-1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c220c93d89575ea360ac981bc2c0ab7c11be209f2337678aed6f636785fc4c4 |
|
MD5 | d3ecf764ff394a748871a19662fd3bf7 |
|
BLAKE2b-256 | 8e3281bc92f3c147ad80f929c22ec55010e689ab920f82b949dc7ea02349c617 |
File details
Details for the file UBPY-1.0-py3-none-any.whl
.
File metadata
- Download URL: UBPY-1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88ff870ceec200dee3e1da4c0ad46836bb57ed53c69cd5f6a558b69f7d1da759 |
|
MD5 | 5de072851ee129c78f759574f5611532 |
|
BLAKE2b-256 | 189ef62bb1ba08db89acb0de3687349b05092f9fd502e2748a8de5a89e9a208d |