Skip to content

Commit

Permalink
Update ping.rb (#243)
Browse files Browse the repository at this point in the history
Removed period at the end of bot.invite_url that was giving scope error on the invite url.
  • Loading branch information
gustavomgama committed Nov 3, 2023
1 parent 57c1f5c commit 0f01116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Here we output the invite URL to the console so the bot account can be invited to the channel. This only has to be
# done once, afterwards, you can remove this part if you want
puts "This bot's invite URL is #{bot.invite_url}."
puts "This bot's invite URL is #{bot.invite_url}"
puts 'Click on it to invite it to your server.'

# This method call adds an event handler that will be called on any message that exactly contains the string "Ping!".
Expand Down

0 comments on commit 0f01116

Please sign in to comment.