GithubHelp home page GithubHelp logo

link1345 / linkclanbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 92 KB

A DiscordBot for managing a game's clans, with features such as recording participation time in voice channels, voting, and teaming.

License: MIT License

Dockerfile 0.43% Python 99.57%
discord-bot discordbot python

linkclanbot's People

Contributors

link1345 avatar

Watchers

 avatar

linkclanbot's Issues

command.member_sheet.interactive_adminのonMessageで、項目が大杉と言われる

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

コマンド「**、ログ取得したい」でmodeというキーワードは存在しないと言われる

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'

command.member_sheet.check_consistencyで間違ったところを削除してしまう

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

テキストコマンドからのプログラムリロード機能

  • pluginと呼ばれる基礎部分以外の処理部を再読み込み
  • CommandSetting基礎部分がpluginを呼び出すに使っている設定ファイル(CommandSetting.py)の再読み込み
  • 時間駆動タスクの再読み込み

これらの機能を作る。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.