-
-
Save ndac-todoroki/42d8657862827099e9666f490435e40e to your computer and use it in GitHub Desktop.
Log when Nostrum bot gets kicked out of guild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[debug] HEARTBEAT_ACK | |
[debug] GUILD_ROLE_DELETE | |
[debug] GUILD_MEMBER_REMOVE | |
[debug] Converting string to non-existing atom: widget_channel_id | |
[debug] Converting string to non-existing atom: widget_enabled | |
[debug] GUILD_DELETE | |
[error] GenServer #PID<0.340.0> terminating | |
** (KeyError) key :unavailable not found in: %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false} | |
(nostrum) lib/nostrum/shard/dispatch.ex:111: Nostrum.Shard.Dispatch.handle_event/3 | |
(nostrum) lib/nostrum/shard/dispatch.ex:20: Nostrum.Shard.Dispatch.handle/1 | |
(elixir) lib/enum.ex:1229: Enum."-map/2-lists^map/1-0-"/2 | |
(nostrum) lib/nostrum/shard/stage/cache.ex:22: Nostrum.Shard.Stage.Cache.handle_events/3 | |
(gen_stage) lib/gen_stage.ex:2543: GenStage.consumer_dispatch/7 | |
(gen_stage) lib/gen_stage.ex:2688: GenStage.take_pc_events/3 | |
(stdlib) gen_server.erl:601: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:667: :gen_server.handle_msg/5 | |
Last message: {:"$gen_consumer", {#PID<0.339.0>, #Reference<0.0.1.2792>}, [{%{d: %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false}, op: 0, s: 11, t: :GUILD_DELETE}, %{gateway: 'gateway.discord.gg', gun_pid: #PID<0.341.0>, heartbeat_ack: true, producer_pid: #PID<0.339.0>, reconnect_attempts: 0, seq: 10, session: "aed817adc6cd950c5748980afed12621", shard_num: 0, shard_pid: #PID<0.338.0>, token: "xxxxxxxxxxxxxx"}}]} | |
State: [] | |
[info] GenStage consumer #PID<0.350.0> is stopping after receiving cancel from producer #PID<0.340.0> with reason: {{:badkey, :unavailable, | |
%{afk_channel_id: nil, afk_timeout: 300, application_id: nil, | |
default_message_notifications: 0, embed_channel_id: nil, | |
embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], | |
icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", | |
owner_id: 229167078110789633, region: "hongkong", | |
roles: [%{color: 0, hoist: false, id: 260291356562423809, managed: false, | |
mentionable: false, name: "@everyone", permissions: 104324161, | |
position: 0},...], | |
splash: nil, verification_level: 0, widget_channel_id: nil, | |
widget_enabled: false}}, | |
[{Nostrum.Shard.Dispatch, :handle_event, 3, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, | |
{Nostrum.Shard.Dispatch, :handle, 1, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, | |
{Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, | |
{Nostrum.Shard.Stage.Cache, :handle_events, 3, | |
[file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, | |
{GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, | |
{GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex', line: 2688]}, | |
{:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, | |
{:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]} | |
[error] GenServer #PID<0.350.0> terminating | |
** (KeyError) key :unavailable not found in: %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false} | |
(nostrum) lib/nostrum/shard/dispatch.ex:111: Nostrum.Shard.Dispatch.handle_event/3 | |
(nostrum) lib/nostrum/shard/dispatch.ex:20: Nostrum.Shard.Dispatch.handle/1 | |
(elixir) lib/enum.ex:1229: Enum."-map/2-lists^map/1-0-"/2 | |
(nostrum) lib/nostrum/shard/stage/cache.ex:22: Nostrum.Shard.Stage.Cache.handle_events/3 | |
(gen_stage) lib/gen_stage.ex:2543: GenStage.consumer_dispatch/7 | |
(gen_stage) lib/gen_stage.ex:2688: GenStage.take_pc_events/3 | |
(stdlib) gen_server.erl:601: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:667: :gen_server.handle_msg/5 | |
Last message: {:DOWN, #Reference<0.0.3.395>, :process, #PID<0.340.0>, {{:badkey, :unavailable, %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false}}, [{Nostrum.Shard.Dispatch, :handle_event, 3, [file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, {Nostrum.Shard.Dispatch, :handle, 1, [file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, {Nostrum.Shard.Stage.Cache, :handle_events, 3, [file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, {GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, {GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex',line: 2688]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, {:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]}} | |
State: %ConsumerSupervisor{args: [DiscordSplatoonBot.Consumer], children: %{}, max_restarts: 3, max_seconds: 5, mod: Nostrum.TaskedConsumer, name: {#PID<0.350.0>, Nostrum.TaskedConsumer}, producers: %{}, restarting: 0, restarts: [], strategy: :one_for_one, template: {DiscordSplatoonBot.Consumer, {DiscordSplatoonBot.Consumer, :start_link, []}, :temporary, 5000, :worker, [DiscordSplatoonBot.Consumer]}} | |
[info] GenStage consumer #PID<0.349.0> is stopping after receiving cancel from producer #PID<0.340.0> with reason: {{:badkey, :unavailable, | |
%{afk_channel_id: nil, afk_timeout: 300, application_id: nil, | |
default_message_notifications: 0, embed_channel_id: nil, | |
embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], | |
icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", | |
owner_id: 229167078110789633, region: "hongkong", | |
roles: [...], | |
splash: nil, verification_level: 0, widget_channel_id: nil, | |
widget_enabled: false}}, | |
[{Nostrum.Shard.Dispatch, :handle_event, 3, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, | |
{Nostrum.Shard.Dispatch, :handle, 1, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, | |
{Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, | |
{Nostrum.Shard.Stage.Cache, :handle_events, 3, | |
[file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, | |
{GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, | |
{GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex', line: 2688]}, | |
{:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, | |
{:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]} | |
[error] GenServer #PID<0.349.0> terminating | |
** (KeyError) key :unavailable not found in: %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false} | |
(nostrum) lib/nostrum/shard/dispatch.ex:111: Nostrum.Shard.Dispatch.handle_event/3 | |
(nostrum) lib/nostrum/shard/dispatch.ex:20: Nostrum.Shard.Dispatch.handle/1 | |
(elixir) lib/enum.ex:1229: Enum."-map/2-lists^map/1-0-"/2 | |
(nostrum) lib/nostrum/shard/stage/cache.ex:22: Nostrum.Shard.Stage.Cache.handle_events/3 | |
(gen_stage) lib/gen_stage.ex:2543: GenStage.consumer_dispatch/7 | |
(gen_stage) lib/gen_stage.ex:2688: GenStage.take_pc_events/3 | |
(stdlib) gen_server.erl:601: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:667: :gen_server.handle_msg/5 | |
Last message: {:DOWN, #Reference<0.0.3.394>, :process, #PID<0.340.0>, {{:badkey, :unavailable, %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false}}, [{Nostrum.Shard.Dispatch, :handle_event, 3, [file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, {Nostrum.Shard.Dispatch, :handle, 1, [file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, {Nostrum.Shard.Stage.Cache, :handle_events, 3, [file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, {GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, {GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex',line: 2688]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, {:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]}} | |
State: %ConsumerSupervisor{args: [DiscordSplatoonBot.Consumer], children: %{}, max_restarts: 3, max_seconds: 5, mod: Nostrum.TaskedConsumer, name: {#PID<0.349.0>, Nostrum.TaskedConsumer}, producers: %{}, restarting: 0, restarts: [], strategy: :one_for_one, template: {DiscordSplatoonBot.Consumer, {DiscordSplatoonBot.Consumer, :start_link, []}, :temporary, 5000, :worker, [DiscordSplatoonBot.Consumer]}} | |
[info] GenStage consumer #PID<0.348.0> is stopping after receiving cancel from producer #PID<0.340.0> with reason: {{:badkey, :unavailable, | |
%{afk_channel_id: nil, afk_timeout: 300, application_id: nil, | |
default_message_notifications: 0, embed_channel_id: nil, | |
embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], | |
icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", | |
owner_id: 229167078110789633, region: "hongkong", | |
roles: [...], | |
splash: nil, verification_level: 0, widget_channel_id: nil, | |
widget_enabled: false}}, | |
[{Nostrum.Shard.Dispatch, :handle_event, 3, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, | |
{Nostrum.Shard.Dispatch, :handle, 1, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, | |
{Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, | |
{Nostrum.Shard.Stage.Cache, :handle_events, 3, | |
[file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, | |
{GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, | |
{GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex', line: 2688]}, | |
{:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, | |
{:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]} | |
[info] GenStage consumer #PID<0.347.0> is stopping after receiving cancel from producer #PID<0.340.0> with reason: {{:badkey, :unavailable, | |
%{afk_channel_id: nil, afk_timeout: 300, application_id: nil, | |
default_message_notifications: 0, embed_channel_id: nil, | |
embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], | |
icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", | |
owner_id: 229167078110789633, region: "hongkong", | |
roles: [...], | |
splash: nil, verification_level: 0, widget_channel_id: nil, | |
widget_enabled: false}}, | |
[{Nostrum.Shard.Dispatch, :handle_event, 3, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, | |
{Nostrum.Shard.Dispatch, :handle, 1, | |
[file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, | |
{Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, | |
{Nostrum.Shard.Stage.Cache, :handle_events, 3, | |
[file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, | |
{GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, | |
{GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex', line: 2688]}, | |
{:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, | |
{:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]} | |
[error] GenServer #PID<0.348.0> terminating | |
** (KeyError) key :unavailable not found in: %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false} | |
(nostrum) lib/nostrum/shard/dispatch.ex:111: Nostrum.Shard.Dispatch.handle_event/3 | |
(nostrum) lib/nostrum/shard/dispatch.ex:20: Nostrum.Shard.Dispatch.handle/1 | |
(elixir) lib/enum.ex:1229: Enum."-map/2-lists^map/1-0-"/2 | |
(nostrum) lib/nostrum/shard/stage/cache.ex:22: Nostrum.Shard.Stage.Cache.handle_events/3 | |
(gen_stage) lib/gen_stage.ex:2543: GenStage.consumer_dispatch/7 | |
(gen_stage) lib/gen_stage.ex:2688: GenStage.take_pc_events/3 | |
(stdlib) gen_server.erl:601: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:667: :gen_server.handle_msg/5 | |
Last message: {:DOWN, #Reference<0.0.1.2818>, :process, #PID<0.340.0>, {{:badkey, :unavailable, %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false}}, [{Nostrum.Shard.Dispatch, :handle_event, 3, [file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, {Nostrum.Shard.Dispatch, :handle, 1, [file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, {Nostrum.Shard.Stage.Cache, :handle_events, 3, [file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, {GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, {GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex', line: 2688]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, {:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]}} | |
State: %ConsumerSupervisor{args: [DiscordSplatoonBot.Consumer], children: %{}, max_restarts: 3, max_seconds: 5, mod: Nostrum.TaskedConsumer, name: {#PID<0.348.0>, Nostrum.TaskedConsumer}, producers: %{}, restarting: 0, restarts: [], strategy: :one_for_one, template: {DiscordSplatoonBot.Consumer, {DiscordSplatoonBot.Consumer, :start_link, []}, :temporary, 5000, :worker, [DiscordSplatoonBot.Consumer]}} | |
[error] GenServer #PID<0.347.0> terminating | |
** (KeyError) key :unavailable not found in: %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false} | |
(nostrum) lib/nostrum/shard/dispatch.ex:111: Nostrum.Shard.Dispatch.handle_event/3 | |
(nostrum) lib/nostrum/shard/dispatch.ex:20: Nostrum.Shard.Dispatch.handle/1 | |
(elixir) lib/enum.ex:1229: Enum."-map/2-lists^map/1-0-"/2 | |
(nostrum) lib/nostrum/shard/stage/cache.ex:22: Nostrum.Shard.Stage.Cache.handle_events/3 | |
(gen_stage) lib/gen_stage.ex:2543: GenStage.consumer_dispatch/7 | |
(gen_stage) lib/gen_stage.ex:2688: GenStage.take_pc_events/3 | |
(stdlib) gen_server.erl:601: :gen_server.try_dispatch/4 | |
(stdlib) gen_server.erl:667: :gen_server.handle_msg/5 | |
Last message: {:DOWN, #Reference<0.0.3.393>, :process, #PID<0.340.0>, {{:badkey, :unavailable, %{afk_channel_id: nil, afk_timeout: 300, application_id: nil, default_message_notifications: 0, embed_channel_id: nil, embed_enabled: false, emojis: [], explicit_content_filter: 0, features: [], icon: nil, id: 260291356562423809, mfa_level: 0, name: "BotTestServer", owner_id: 229167078110789633, region: "hongkong", roles: [...], splash: nil, verification_level: 0, widget_channel_id: nil, widget_enabled: false}}, [{Nostrum.Shard.Dispatch, :handle_event, 3, [file: 'lib/nostrum/shard/dispatch.ex', line: 111]}, {Nostrum.Shard.Dispatch, :handle, 1, [file: 'lib/nostrum/shard/dispatch.ex', line: 20]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1229]}, {Nostrum.Shard.Stage.Cache, :handle_events, 3, [file: 'lib/nostrum/shard/stage/cache.ex', line: 22]}, {GenStage, :consumer_dispatch, 7, [file: 'lib/gen_stage.ex', line: 2543]}, {GenStage, :take_pc_events, 3, [file: 'lib/gen_stage.ex',line: 2688]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 601]}, {:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 667]}]}} | |
State: %ConsumerSupervisor{args: [DiscordSplatoonBot.Consumer], children: %{}, max_restarts: 3, max_seconds: 5, mod: Nostrum.TaskedConsumer, name: {#PID<0.347.0>, Nostrum.TaskedConsumer}, producers: %{}, restarting: 0, restarts: [], strategy: :one_for_one, template: {DiscordSplatoonBot.Consumer, {DiscordSplatoonBot.Consumer, :start_link, []}, :temporary, 5000, :worker, [DiscordSplatoonBot.Consumer]}} | |
[info] Application discord_splatoon_bot exited: shutdown | |
[debug] IDENTIFYING | |
[debug] READY | |
[debug] HEARTBEAT_ACK | |
[debug] HEARTBEAT_ACK | |
[debug] HEARTBEAT_ACK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment