Skip to content

Commit

Permalink
add sub for wayland role in server 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifiht committed Jul 13, 2024
1 parent a7c4747 commit d603dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/discord/discord.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def ask_question(q)
# Discord chat logic to receive msg and send response
def respond(e)
#@sprig.pm2_log("Received msg: #{e.message.content}")
msg_body = e.message.content.gsub("<@1211423563475849236>", "Wayland").gsub("<@&1211432785353637999>", "Wayland").to_s
msg_body = e.message.content.gsub("<@1211423563475849236>", "Wayland").gsub("<@&1211432785353637999>", "Wayland").gsub("<@&1231807399833243681>", "Wayland").to_s
e.channel.start_typing
a = ask_question(INST + CHAT + "\n@User: " + msg_body + "\n@Wayland:")
@sprig.pm2_log("Sending msg: #{a}")
Expand Down

0 comments on commit d603dc5

Please sign in to comment.