We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95e0a68 commit b5e4fbaCopy full SHA for b5e4fba
app/lib/discord/events/set_channel.rb
@@ -60,7 +60,7 @@ def listen_to_channel_select
60
existing_channel.update!(name: channel.name, channel_id: channel.id)
61
else
62
# If the channel doesn't exist, create a new one associated with the server
63
- server.channel.create!(name: channel.name, channel_id: channel.id)
+ server.create_channel!(name: channel.name, channel_id: channel.id)
64
end
65
66
# Respond with a confirmation message
0 commit comments