Created
March 20, 2019 17:29
-
-
Save Natrotm/c3fa9265b63f73375ea98541eb13483e to your computer and use it in GitHub Desktop.
Example Vixio Discord Bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=============================================================== | |
# Vixio Example Bot Skript by Natrotm | |
# Version : 1.0.0 | |
# Discord : Natrotm#3761 | |
# | |
# The language of the bot is Turkish. | |
# If you want to help with translation, please contact us. | |
#=============================================================== | |
# Bot Settings | |
options: | |
bot: Natro #Bot name | |
prefix: n! #Bot prefix | |
token: #Bot token | |
renk: color from rgb 15, 135, 245 #Embed color | |
# Join | |
on load: | |
login to "{@token}" with the name "{@botname}" | |
mark "{@bot}" as playing "➥ {@prefix}yardım" | |
send "&a{@bot} sunucuya katıldı." to console | |
# Help Command | |
discord command {@prefix}yardım: | |
trigger: | |
make embed: | |
set description of embed to ":postbox: **Yardım komutlarımı sana gönderdim, %mention tag of event-user%!**" | |
set color of the embed to {@renk} | |
send last created embed to event-channel with event-bot | |
wait 1 seconds | |
make embed: | |
set author info of embed to an author named "{@bot} Yardım" with no url and icon icon of event-guild | |
add field named "Bot Komutları" with value "**{@prefix}yardım** botun komutları hakkında yardım mesajı gönderir.%nl%**{@prefix}davet** botu sunucunuza davet etmek için bağlantı gönderir." to embed | |
add field named "Oyuncu Komutları" with value "%nl%**{@prefix}avatar <kullanıcı>** etiketlediğiniz kullanıcının avatarını gönderir." to embed | |
add field named "Yetkili Komutları" with value "**{@prefix}temizle <sayı>** girilen sayı kadar mesajı temizler.%nl%**{@prefix}duyuru <yazı>** yazdığınız yazıyı duyuru olarak gönderir.%nl%**{@prefix}oylama <yazı>** girilen yazıyı oylama şeklinde gönderir.%nl%**{@prefix}yazdır <yazı>** yazdığınız yazıyı bot yazmış gibi gösterir." to embed | |
set color of the embed to {@renk} | |
send last created embed to event-user with event-bot | |
# İnvite Command | |
discord command {@prefix}davet: | |
trigger: | |
make embed: | |
set description of embed to "[:white_check_mark: **Beni sunucunuza davet etmek için buraya tıklayın!**](https://discordapp.com/oauth2/authorize?client_id=551722950659801098&scope=bot&permissions=2146958847)" | |
set color of the embed to {@renk} | |
send last created embed to event-channel with "{@bot}" | |
# Avatar Command | |
discord command {@prefix}avatar <user>: | |
trigger: | |
make embed: | |
set color of the embed to {@renk} | |
set author info of embed to an author named "%arg-1%'nin Avatarı" with no url and icon icon of event-guild | |
set image of embed to "%avatar of arg-1%" | |
send last created embed to event-channel with "{@bot}" | |
# Purge Command | |
discord command {@prefix}temizle <number>: | |
trigger: | |
if event-member has permission manage server: | |
if arg-1 isn't greater than 100: | |
grab the last arg-1 messages in event-channel | |
purge the grabbed messages with event-bot | |
make embed: | |
set description of embed to ":white_check_mark: **Bu kanaldan %arg-1% adet mesaj başarıyla temizlendi!**" | |
set color of the embed to {@renk} | |
set the footer of embed to footer with text "5 Saniye sonra bu mesaj silinecektir." | |
set the timestamp of embed to now | |
wait 4 seconds | |
grab the last arg-1 messages in event-channel | |
purge the grabbed messages with event-bot | |
send last created embed to event-channel with "{@bot}" | |
else: | |
make embed: | |
set color of the embed to {@renk} | |
set the description of embed to ":x: **En fazla 100 mesaj silebilirsiniz, %mention tag of event-user%!**" | |
send last created embed to event-channel with "{@bot}" | |
else: | |
make embed: | |
set color of the embed to {@renk} | |
set the description of embed to ":x: **Bu komut için gereken izne sahip değilsin, %mention tag of event-user%!**" | |
send last created embed to event-channel with "{@bot}" | |
# Announcement Command | |
discord command {@prefix}duyuru <text>: | |
trigger: | |
if event-member has permission manage server: | |
purge the event-message with event-bot | |
make embed: | |
set author info of embed to an author named "{@bot} Duyuru" with no url and icon icon of event-guild | |
set description of embed to arg 1 | |
set color of the embed to {@renk} | |
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%" | |
set the timestamp of embed to now | |
send last created embed to event-channel with "{@bot}" | |
else: | |
make embed: | |
set color of the embed to {@renk} | |
set the description of embed to ":x: **Bu komut için gereken izinlere sahip değilsin, %mention tag of event-user%!**" | |
send last created embed to event-channel with "{@bot}" | |
# Voting Command | |
discord command {@prefix}oylama <text>: | |
trigger: | |
if event-member has permission manage server: | |
purge the event-message with event-bot | |
make embed: | |
set author info of embed to an author named "{@bot} Oylama" with no url and icon icon of event-guild | |
set description of embed to arg 1 | |
set color of the embed to {@renk} | |
set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%" | |
set the timestamp of embed to now | |
send last created embed to event-channel with "{@bot}" and store it in {_embed} | |
add reaction ":white_check_mark:" and "x" to {_embed} with "{@bot}" | |
else: | |
make embed: | |
set color of the embed to {@renk} | |
set the description of embed to ":x: **Bu komut için gereken izinlere sahip değilsin, %mention tag of event-user%!**" | |
send last created embed to event-channel with "{@bot}" | |
# Print Command | |
discord command {@prefix}yazdır <text>: | |
trigger: | |
if event-member has permission manage server: | |
purge the event-message with event-bot | |
reply with arg-1 | |
else: | |
make embed: | |
set color of the embed to {@renk} | |
set the description of embed to ":x: **Bu komut için gereken izinlere sahip değilsin, %mention tag of event-user%!**" | |
send last created embed to event-channel with "{@bot}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey
I need some help translating this, i am new to Vixio but i am a master a skript. But please translate the help command in english and also your discord username to friend isnt working. Msg me on discord 𝐓𝐎𝐑𝐈𝐒𝐄𝐓#4423
Copy whats up there cause that is custom text.