[Fixed] Discord the bot channel does not detect.

hameleon0128

New member
Nov 9, 2016
6
0
0
41
Hello. The instructions say that "press the test connection button, and the channel will give the channel list automatically." But in my line, the channel is empty.

In this case, discord sees my bot on the network. but LED server discord" in RAT- lights red.

And when I go into the settings discord, I get the following:


System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
RAT._discord.QueryDiscordRoles()
RAT.frmDiscordSetup.frmDiscordSetup_Load(Object sender, EventArgs e)
System.Windows.Forms.Form.OnLoad(EventArgs e)
System.Windows.Forms.Form.SetVisibleCore(Boolean value)
System.Windows.Forms.Control.set_Visible(Boolean value)
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
System.Windows.Forms.Application.RunDialog(Form form)
System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
System.Windows.Forms.Form.ShowDialog()
RAT.frmMain.tsMainDiscordSetup_Click(Object sender, EventArgs e)
System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
System.Windows.Forms.Control.WndProc(Message& m)
System.Windows.Forms.ScrollableControl.WndProc(Message& m)
System.Windows.Forms.ToolStrip.WndProc(Message& m)
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The question is how to fix this?

Thank you.
 

Attachments

  • 1.jpg
    1.jpg
    30.5 KB · Views: 8
  • DSC01100.jpg
    DSC01100.jpg
    112.2 KB · Views: 7
Discord support in RAT is... not good at the moment. As soon as I released it, they changed things in the API. I've been working on it, but am going to release a new update to RAT, but Discord is NOT going to work until the next update more than likely. Just too many things I need to do with it. We'll see though, if all goes well, it might even be in the next release (but don't hold your breath).
 
Discord support in RAT is... not good at the moment. As soon as I released it, they changed things in the API. I've been working on it, but am going to release a new update to RAT, but Discord is NOT going to work until the next update more than likely. Just too many things I need to do with it. We'll see though, if all goes well, it might even be in the next release (but don't hold your breath).

Thanks for the answer. I just really liked the idea that you can integrate a bolt to the server :) And it would be convenient to watch what the players write on the server, straight from the phone, but it's my dreams :)

And I also have a question not on this topic.

Previously, you could configure to kick the ping. Can this be configured in the current version? I do not like that there is no choice between a ban and a kick.

Thank you very much for what you are doing. =)
 
Thanks for the answer. I just really liked the idea that you can integrate a bolt to the server :) And it would be convenient to watch what the players write on the server, straight from the phone, but it's my dreams :)

And I also have a question not on this topic.

Previously, you could configure to kick the ping. Can this be configured in the current version? I do not like that there is no choice between a ban and a kick.

Thank you very much for what you are doing. =)

Don't worry, you'll get the Discord support back, I'm not giving up on it, I just needed to fix a lot of other things first, so I could focus on the Discord support. =)

As for the ping check, yes, you can edit it however you want. It was moved into the Event system, so click the Gear icon on the toolbar and edit the event for the "User Failed Ping Check". Then change it from a ban to a kick. =)
 
As for the ping check, yes, you can edit it however you want. It was moved into the Event system, so click the Gear icon on the toolbar and edit the event for the "User Failed Ping Check". Then change it from a ban to a kick. =)
How to register a team that just got kicked? Thank you.
kick add {player_steamid} "Kicked, failed the ping check."
Сorrectly?