How to integrate Discord Tipping & NFT Bot?
Coinvise Discord Bot enables you to not only tip/exchange tokens on discord but also allow you to enter token-gated channels/roles & mint NFTs right in the chat on both polygon and ethereum mainnet 🌈
Here's a quick demo 🎥 on how to integrate the bot 👇
To integrate the bot into your own discord community, get started by using the link below:
Setup
Once installed, a one time setup is needed to be performed:
- This can be done using the following command:
!setup <botOwnerRoleName> <tokenGatedRoleName> <chain> <tokenAddress> <thresholdAmount>
<botOwnerRoleName>
: Once setup, only users with this role would be able to execute the above command again to change any of the following parameters.
-
<tokenGatedRoleName>
: The role given to people who own at-least<thresholdAmount>
tokens of<tokenAddress>
on<chain>
.
- Once the conditions are met user can claim the role using the
!join
command.<chain>
: can be eithermatic
ormainnet
.
-
<tokenAddress>
: Address of the token in the form of0x<addr>
<thresholdAmount>
: Minimum amount of tokens to claim the<tokenGatedRoleNameRole>
. Can accept numbers with decimals.
To update any of these parameters, a user with
<botOwnerRoleName>
would have to run the command again. Note that partial updates are not supported yet.Supported Commands
!register
Allows a user to register with their Ethereum Wallet Address. The link is PMed to the user, visiting which they can complete their registration by signing a message using their MetaMask Wallet (this does not cost ETH)
To update the address, simply call
!register
again. Note that at a time only one address is stored per user.!addTokenAddress <tokenName> <address>
<tokenName>
alias as which the address is to be stored <address>
address of token
Example Usage:
!addTokenAddress mihir-matic 0x481ad5a837f6aeec838298e52f35ff48bb2e000a
!editTokenAddress <tokenName> <address>
<tokenName>
alias as which the address is to be stored <address>
address of token
Tokens can be edited only be the user who created them
Example Usage:
!editTokenAddress mihir-matic 0x481ad5a837f6aeec838298e52f35ff48bb2e000a
Format:
!tokenAddresses
Lists all tokens saved till date
Format:
!tip <@username> <tokenName> <chain> <amount>
<@username>
: mention a user to tip. User must already be registered <tokenName>
: a name saved using !addTokenAddress <chain>
: matic or mainnet <amount>
: amount to send
The sender is PMed a link using which they can complete the transaction for sending the tokens.
Example Usage:
!tip @
acidicHydrogen
mihir matic 1
Format:
!mintNft <chain>
Mints an NFT on <chain> from the image attached to the command
The sender is PMed a link using which they can complete the transaction for minting the token.
Example Usage:
