Skip to content

Commit ae984bc

Browse files
committed
fix
1 parent 0008955 commit ae984bc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/services/telegram_bot_service.rb

-7
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ def self.run
1010
bot.send_message(event.channel.id, 'Bot is shutting down')
1111
exit
1212
end
13-
14-
bot.command(:monitor, help_available: true) do |event, *args|
15-
params = @bot_params[event.user.id] || @default_params.dup
16-
params[:channel_id] = event.channel.id
17-
@bot_params[event.user.id] = params
18-
DiscordBotComponentService.add_countries(params)
19-
end
2013

2114
bot.command(:stop, help_available: true) do |event|
2215
UserOption.find_by(discord_id: event.user.id).update(monitor: false)

0 commit comments

Comments
 (0)