k8thekat / GatekeeperV2

Update to Gatekeeper
GNU General Public License v3.0
27 stars 11 forks source link

mc to discord error #101

Closed iceyman closed 4 months ago

iceyman commented 4 months ago

Information [REQUIRED]

Which Server Type?

The drop down value when making the instance eg. Minecraft or VRising Minecraft

Which Platform?

eg. AMP, Linux, Windows Linux AMP

Describe the bug

A clear and concise description of what the bug is.

say something in MC and didn't display in discord but discore can chat to MC

6/17/2024 08:30:39 AM [Gatekeeper] [ERROR] Unhandled exception in internal background task 'ampserverconsole_chat_messages_send'. Traceback (most recent call last): File "/AMP/gatekeeperv2/venv/lib/python3.11/site-packages/discord/ext/tasks/__init.py", line 239, in _loop await self.coro(*args, **kwargs) File "/AMP/gatekeeperv2/GatekeeperV2-main/cogs/AMP_tasks_cog.py", line 318, in amp_server_console_chat_messages_send Server.Chat_Message(message=message_contents, author_prefix=author_prefix, author=author, server_prefix=AMPServer_Chat.Discord_Chat_Prefix) TypeError: AMPInstance.Chat_Message() got an unexpected keyword argument 'server_prefix'


Additional Information [NOT REQUIRED]

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior or Desired behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem. Screenshot_18

Additional context

Add any other context about the problem here.

k8thekat commented 4 months ago

This should be fixed.

Thanks for the report.