Skip to content

Commit 1c801be

Browse files
authored
1.2.7
1 parent 8e394d9 commit 1c801be

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
setup(
44
name='fanbookbotapi',
5-
version='1.2.5',
5+
version='1.2.7',
66
packages=find_packages(),
77
install_requires=[
88
# 这里列出你的依赖包,例如:
99
# 'numpy',
1010
'requests',
1111
'coloredlogs',
12-
'websocket-client'
12+
'websocket-client',
13+
'pygments',
14+
'colorama'
1315
],
1416
author='wangdage',
1517
author_email='fanbookwdg1122@outlook.com',

test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import fanbookbotapi
2+
3+
token=''
4+
print(fanbookbotapi.getme(token).text)
5+
print(fanbookbotapi.sendmessage(token,chatid=433212507046281216).text)
6+
print(fanbookbotapi.getPrivateChat(token,userid=389320179948986368).text)
7+
fanbookbotapi.send_user_message(bot_token=token,channel_id='433212507046281216',guild_id='433204455396081664',text='{\"type\":\"text\",\"text\":\"6\",\"contentType\":0}')

0 commit comments

Comments
 (0)