1Shot API List Transactions. Discord New message in channel.

When a user posts a wallet address in a Discord channel, check cool-down period & send them tokens.

Connect

The applets serves as a token-cannon for your Discord channels. When a user posts a wallet address to a channel the applet is tied to, the applet will check if the user has already requested tokens within the cool-down period and then send them ERC-20 tokens. Check our docs for more info: https://docs.1shotapi.com/automation/ifttt.html#ready-to-use-applets

Create your own Discord and 1Shot API workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

10 triggers, queries, and actions

Failed Transactions

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Transaction fails.

New message in channel

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new message is posted in a channel you select.

New pinned message in channel

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new message is pinned in a channel you select.

Successful Transactions

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Transaction is confirmed.

List Channel Invites

Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns all invites to a channel.

List Transactions

Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a listing of executed transactions using the filters you specify.

Read From Chain

Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the data from one method on the blockchain.

Execute a Contract Method

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will execute one of the Contract Methods you have defined in your 1Shot API account and create a Transaction.

Post a message to a channel

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will send a message from the IFTTT Bot to the channel you specify.

Post a rich message to a channel

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will send a rich message from the IFTTT Bot to the channel you specify. Although most fields are optional, running the action requires content in the message body or content in at least one of the embed attributes.

Execute a Contract Method

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will execute one of the Contract Methods you have defined in your 1Shot API account and create a Transaction.

Failed Transactions

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Transaction fails.

List Channel Invites

Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns all invites to a channel.

List Transactions

Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a listing of executed transactions using the filters you specify.

New message in channel

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new message is posted in a channel you select.

New pinned message in channel

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new message is pinned in a channel you select.

Post a message to a channel

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will send a message from the IFTTT Bot to the channel you specify.

Post a rich message to a channel

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will send a rich message from the IFTTT Bot to the channel you specify. Although most fields are optional, running the action requires content in the message body or content in at least one of the embed attributes.

Read From Chain

Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the data from one method on the blockchain.

Successful Transactions

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a Transaction is confirmed.

More on Discord and 1Shot API

About Discord

Whether you’re part of a school club, gaming group, worldwide art community, or just a handful of friends that want to spend time together, Discord makes it easy to talk every day and hang out more often.

To add the Bot, the user needs to have the Manage Server permission. Note: Revoking Discord Permissions will not stop the Bot from running. The Bot needs to be removed from the server or have its permissions disabled.

Learn more

More integrations with Discord

About 1Shot API

1Shot API gives you smart tools for smart contracts. Read from and write to smart contracts on any EVM network from your IFTTT applets in a fully automated fashion with 1Shot API's managed wallet and transaction infrastructure.

Learn more

More integrations with 1Shot API