1.1.2 • Published 2 years ago
sennur v1.1.2
✨️ New update! V1.1.2
What's new?
- A new platform has been added for the checkVote function. You can now see whether users voted for your bots, which are also on the discord.place platform! Detailed: Here
Usage
Emoji Text (For Discord Bot)
- Converts the text you type into emojis
Example code;
const sennur = require("sennur")
const text = await sennur.toEmoji("Test")
console.log(text)Check Vote (For Discord Bot)
Top.GG
- If your bot is on the Top.GG site, you will be able to easily find out whether any users have voted for your bot!
Example code;
const sennur = require("sennur")
const result = await sennur.checkVote({
platform:'top.gg',
apiKey:`TopGG Bot Token`,
botId: 'Bot id',
userId:`User id`
});
console.log(result) // true or false (True: Voted,False: No vote)discord.place
- If your bot is on the discord.place site, you will be able to easily find out whether any users have voted for your bot!
Example code;
const sennur = require("sennur")
const result = await sennur.checkVote({
platform:'discord.place',
apiKey:`discord.place api key`,
botId: 'Bot id',
userId:'User id'
});
console.log(result) // true or false (True: Voted,False: No vote)Fun Fact
- Gives random fun fact
Example code;
const sennur = require("sennur")
const fact = await sennur.funFact()
console.log(fact) // Fun factLeap Year (29 February)
- Indicates whether the entered year is a leap year or not.
- If your site/bot has a birthday system, I recommend using this module!
Example code;
const sennur = require("sennur")
const result1 = await sennur.isLeapYear("2024")
const result2 = await sennur.isLeapYear("2023")
console.log(result1) // true
console.log(result2) // falseLinks
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.1.2
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.1.0
2 years ago
0.0.21
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.1-sennur.1
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago