link1345 / linkclanbot Goto Github PK
View Code? Open in Web Editor NEWA DiscordBot for managing a game's clans, with features such as recording participation time in voice channels, voting, and teaming.
License: MIT License
A DiscordBot for managing a game's clans, with features such as recording participation time in voice channels, voting, and teaming.
License: MIT License
Error Code
Docker_LinkClanBot | Ignoring exception in on_message
Docker_LinkClanBot | Traceback (most recent call last):
Docker_LinkClanBot | File "/usr/local/lib/python3.9/site-packages/discord/client.py", line 350, in _run_event
Docker_LinkClanBot | await coro(*args, **kwargs)
Docker_LinkClanBot | File "/root/opt/base/base.py", line 41, in on_message
Docker_LinkClanBot | await self.command.on_message(self.client, message)
Docker_LinkClanBot | File "/root/opt/base/Command.py", line 208, in on_message
Docker_LinkClanBot | await run(key, client, message)
Docker_LinkClanBot | File "/root/opt/base/Command.py", line 154, in run
Docker_LinkClanBot | await self.C_list[key]["object"].on_message(config=self.C_list[key], client=client, message=message)
Docker_LinkClanBot | File "/root/opt/command/member_sheet/interactive_admin.py", line 106, in on_message
Docker_LinkClanBot | self.eventButton = ListMenu( self, self.select_message )
Docker_LinkClanBot | File "/root/opt/command/member_sheet/interactive_admin.py", line 67, in __init__
Docker_LinkClanBot | self.add_item(ListMenu_SelectMenu(data,text))
Docker_LinkClanBot | File "/root/opt/command/member_sheet/interactive_admin.py", line 54, in __init__
Docker_LinkClanBot | self.add_option(label=item, default=defaultFlag)
Docker_LinkClanBot | File "/usr/local/lib/python3.9/site-packages/discord/ui/select.py", line 228, in add_option
Docker_LinkClanBot | self.append_option(option)
Docker_LinkClanBot | File "/usr/local/lib/python3.9/site-packages/discord/ui/select.py", line 245, in append_option
Docker_LinkClanBot | raise ValueError('maximum number of options already provided')
Docker_LinkClanBot | ValueError: maximum number of options already provided
#23 のやつがうまくかけてなかったみたい。
DiscordBotTokenなどを保存したBotの基礎部部のファイルの読み込み部分実装。
対話式で自身のボイスチャンネルの参加時間を確認機能の実装
Error Code
Docker_LinkClanBot | 2021/08/22 16:17:00 : どちらのログが欲しいですか?
Docker_LinkClanBot | 2021/08/22 16:17:03 : 現行の音声チャンネルログイン生データです
Docker_LinkClanBot | 2021/08/22 16:17:13 : どちらのログが欲しいですか?
Docker_LinkClanBot | Ignoring exception in view <test_button timeout=180.0 children=2> for item <test_button_Button style=<ButtonStyle.secondary: 2> url=None disabled=False label='加工済みログ' emoji=None row=None>:
Docker_LinkClanBot | Traceback (most recent call last):
Docker_LinkClanBot | File "/usr/local/lib/python3.9/site-packages/discord/ui/view.py", line 359, in _scheduled_task
Docker_LinkClanBot | await item.callback(interaction)
Docker_LinkClanBot | File "/root/opt/command/voice_log/interactive.py", line 161, in callback
Docker_LinkClanBot | timeData = await Chart.makeTimeList(self.client, now_filepath , CSetting.OneMonthOutput_RoleID , mode="NAME")
Docker_LinkClanBot | TypeError: makeTimeList() got an unexpected keyword argument 'mode'
sheetのID欄を消すと、その消したユーザーの項目が削除されず、その上の項目が消されしまう。
何か他にも問題ありそう…?
Error Code
Docker_LinkClanBot | Ignoring exception in on_message
Docker_LinkClanBot | Traceback (most recent call last):
Docker_LinkClanBot | File "/usr/local/lib/python3.9/site-packages/discord/client.py", line 350, in _run_event
Docker_LinkClanBot | await coro(*args, **kwargs)
Docker_LinkClanBot | File "/root/opt/base/base.py", line 41, in on_message
Docker_LinkClanBot | await self.command.on_message(self.client, message)
Docker_LinkClanBot | File "/root/opt/base/Command.py", line 208, in on_message
Docker_LinkClanBot | await run(key, client, message)
Docker_LinkClanBot | File "/root/opt/base/Command.py", line 154, in run
Docker_LinkClanBot | await self.C_list[key]["object"].on_message(config=self.C_list[key], client=client, message=message)
Docker_LinkClanBot | File "/root/opt/command/member_sheet/check_consistency.py", line 141, in on_message
Docker_LinkClanBot | change_after = self.changeData(old_user_row, userList[ userList_id.index( sheet_col[num] ) ] , sheetIndexNumber )
Docker_LinkClanBot | ValueError: '' is not in list
これらの機能を作る。
全てのボイチャチャンネルを監視して、ログとして記録する機能
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.