hi i have the bot set up and in my channels but as soon as it posts a message from in game it deletes it leaving the channel with no messages any one have any idea how to fix this the bot has admin perms messages from discord to the server work they just get deleted from discord instantly
Bot deletes message as soon as it posts it
The messages are supposed to be deleted but the bot is supposed to add them back in. It sounds like a permission issue if the bot isn't adding them back to the channel.
Im having the same issue, sometimes it works sometimes it dosent. Its also misses the Discord tag half the time. I think the error might be in the Discord extension.
gave the bot full admin permissions to the channel it still wont repost them
Did you give the bot permission 8 when adding it to the discord server?
I have, its currently working alright for me. it just goes off every now and then. I think it could be because of the extension I usually get this when it happens.
21:37 [Error] ExType: WebException
21:37 [Error] [Discord Extension] A web request exception occured (internal error) [RETRY=0/3]. (SocketException: Connection reset by peer)
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <ae22a4e8f83c41d69684ae7f557133d9>:0
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <ae22a4e8f83c41d69684ae7f557133d9>:0
21:37 [Error] [Discord Extension] Request URL: [GET] https://discordapp.com/api/channels/699273214425170071
21:37 [Error] An exception was thrown! (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.REST.Request.Fire (Oxide.Ext.Discord.REST.Bucket bucket) [0x0015e] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x00062] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0
Or this just happend whilst writing this
[Discord Extension] Reconnect has been called (opcode 7)! Reconnecting...
[Discord Extension] Discord connection closed uncleanly: code 1006, Reason:
[Discord Extension] Attempting to reconnect to Discord...
[Discord Extension] Discord socket opened!
[Discord Extension] Attempting resume opcode...
[Discord Extension] Discord socket opened!
[Discord Extension] Warning: tried to create a heartbeat when one is already registered.
[Discord Extension] Attempting resume opcode...
[Discord Extension] Session resumed!
[Discord Core] Heartbeat timed out. Reconnecting
[Discord Extension] Discord socket opened!
[Discord Extension] Your bot was found in 1 Guilds!
[Discord Core] Connected to bot: RustyPotato - Solo Only
[Discord Core] Discord connected to server: RustyPotato Yeah, that error is coming from the extension. Discord Core will notice after about 2 minutes and reconnect itself.
the issue i'm having is messages are instantly deleted and nothing makes it to the rust server