Shimmermare / InviteRoles

A Discord bot to automatically give roles to users who joined through specific invite.
MIT License
18 stars 9 forks source link

Bot doesnt answer on command #7

Closed c0rrre closed 4 years ago

c0rrre commented 4 years ago

Hi there,

i have a problem using this bot. I installed java 11 on my server and copied the jar file from the releases. Then i created a new bot and copied the token (also provided him with the neccesary rights). The bot connects to my server but he do not respond on whisper or text in some channel.

Log: `[11:51:15.508][main][DEBUG]: com.shimmermare.inviteroles.InviteRoles: Reading application properties from resource

[11:51:15.512][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Starting InviteRoles Discord Bot version 1.0.1-SNAPSHOT . I'm alive!

[11:51:16.198][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response wit h following cf-rays: [58e1527e1f3adfff-FRA]

[11:51:16.590][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response wit h following cf-rays: [58e1527fbbdddfff-FRA]

[11:51:16.593][main][INFO]: net.dv8tion.jda.api.JDA: Login Successful!

[11:51:16.922][JDA MainWS-WriteThread][INFO]: net.dv8tion.jda.internal.requests.WebSocketClient: Connected to WebSocket

[11:51:16.923][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Got HELLO packet (OP 10). I nitializing keep-alive.

[11:51:16.924][JDA MainWS-WriteThread][DEBUG]: net.dv8tion.jda.internal.requests.WebSocketClient: Sending Identify-packet...

[11:51:17.144][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Setting incomplete count to 1 [11:51:17.220][JDA MainWS-ReadThread][INFO]: net.dv8tion.jda.api.JDA: Finished Loading! [11:51:17.221][JDA MainWS-ReadThread][DEBUG]: net.dv8tion.jda.internal.handle.GuildSetupController: Finished setup for guild 288016235848007681 firing cached events 1 [11:51:17.269][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Successfully logged in as Auto-Role Bot (70679189481796 4044). [11:51:17.367][main][INFO]: com.shimmermare.inviteroles.DatabaseService: Successfully connected to database 'invite.db'. [11:51:17.537][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response wit h following cf-rays: [58e152859d4edfff-FRA] [11:51:17.548][main][INFO]: com.shimmermare.inviteroles.InviteRoles: Currently joined 1 servers with a total of 95 members. [11:51:35.350][OkHttp https://discordapp.com/...][DEBUG]: net.dv8tion.jda.internal.requests.Requester: Received response wit h following cf-rays: [58e152f50ed5dfff-FRA] `

Can u please help me?

best regards c0rrre

Shimmermare commented 4 years ago

Hi! Logs do look okay. Are you sure that bot can read and send messages in the channel? What command are you using? If you're using /ir prefix from readme - sorry, it's for unreleased version, please use /inviteroles.

c0rrre commented 4 years ago

ok it works if um using the /inviteroles command :D