tepha
Tepha
Two environment variables are needed:
INSTANCE_URL
(which can be anything unique for each bot instance)WEBEX_TEAMS_ACCESS_TOKEN
(which is an access token for the bot)
Usage
require "tepha"
session = Tepha::Session.new
client =
Tepha::Client.new(
name: "Untitled", # Name of your bot.
session: session,
commands: [
Tepha::Commands::Echo.new,
] of Tepha::Command
)
client.run
Go to your Webex chat and text the bot echo Hello, World!
, it will reply Hello, World!
.
Repository
tepha
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- almost 3 years ago
- January 17, 2022
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 01:45:18 GMT
Languages