Skip to content

Commit

Permalink
update mention of Subspace to Autonomys in discord-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Dec 3, 2024
1 parent 9e8f760 commit 09d041a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions discord-bot/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ CLIENT_ID=""
CONTRACT_ADDRESS=""
PRIVATE_KEY=""

# Subspace EVM-Domain Token Symbol, RPC Endpoint and Blockscout Explorer URL
TOKEN_SYMBOL="tSSC"
# Autonomys EVM-Domain Token Symbol, RPC Endpoint and Blockscout Explorer URL
TOKEN_SYMBOL="tAI3"
RPC_ENDPOINT=""
EXPLORER_URL="https://blockscout.subspace.network"

Expand Down
6 changes: 3 additions & 3 deletions discord-bot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord-bot",
"description": "Discord bot to interact with the Subspace faucet",
"description": "Discord bot to interact with the Autonomys faucet",
"version": "1.0.0",
"keywords": [],
"main": "src/index.js",
Expand All @@ -15,8 +15,8 @@
},
"license": "ISC",
"author": {
"name": "Subspace.network",
"url": "https://subspace.network"
"name": "Autonomys Network",
"url": "https://autonomys.xyz"
},
"homepage": "https://github.com/autonomys/faucet#readme",
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions discord-bot/src/utils/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const buildSlackStatsMessage = (
type: 'section',
text: {
type: 'mrkdwn',
text: `This week total requests: ${requestCount} :subspace-hype:`,
text: `This week total requests: ${requestCount} :autonomys:`,
},
},
{
Expand All @@ -105,15 +105,15 @@ export const buildSlackStatsMessage = (
text: {
type: 'mrkdwn',
text: `Current total requests: ${requestCount} ${
requestCount > 100 ? ':subspace-hype:' : ':subheart-black:'
requestCount > 100 ? ':autonomys:' : ':auto-heart:'
}`,
},
},
{
type: 'section',
text: {
type: 'mrkdwn',
text: `Unique addresses: ${uniqueAddresses} :subheart-white:`,
text: `Unique addresses: ${uniqueAddresses} :auto-heart:`,
},
},
)
Expand Down

0 comments on commit 09d041a

Please sign in to comment.