Find Jobs
Hire Freelancers

Need some C++ converted into Discord.JS

$10-30 USD

Closed
Posted about 6 years ago

$10-30 USD

Paid on delivery
Need some C++ converted into [login to view URL] 8 commands and all are pretty short [Command("default")] [Summary("Sets default roles to be used for raids when roles not specified.")] [Command("raidlist")] [Alias("list")] [Summary("Lists raids availble for signups.")] [Command("status")] [Summary("Lists players and roles signed up for specified raid.")] [Command("status")] [Summary("Lists players and roles signed up for specified raid.")] [Command("withdraw")] [Summary("Withdraws user from specified raid if signed up.")] [Summary("Signs user up for specified raid with specified roles. Uses defualt roles if none specified.")] [Command("rollcall")] [Alias("rc")] [Summary("Mentions users signed up for specified raid with a message that raid is forming.")] [Command("closeraid")] [Alias("clearraid", "clear", "close", "cr")] [Summary("Deletes signups for specified raid.")] [Command("openraid")] [Alias("open", "or")] [Summary("Creates text file to hold names and roles for sign ups")] Full script of one for example of one of the 8 commands I need changed from C# to [login to view URL] ```[Command("openraid")] [Alias("open", "or")] [Summary("Creates text file to hold names and roles for sign ups")] public async Task OpenRaidCmd([Summary("Name for text file / name of raid, one word only.")] string raid, [Remainder, Summary("Custom message to send to signups channel")] string message = null) { string fileName = raid + ".txt"; fileName = [login to view URL](fileName).Replace(fileName, ""); fileName = fileName + @"\raids\" + raid + ".txt"; if ([login to view URL] != botChannel) { await ReplyAsync($"Please use this command in {(await [login to view URL](botChannel) as SocketTextChannel).Mention}"); } else if ([login to view URL](fileName)) { await ReplyAsync($"File Name {raid}.txt already exists, use another name or clear the raid."); } else { [login to view URL](fileName).Close(); var channel = await [login to view URL](signupsID) as SocketTextChannel; if (message == null) { await [login to view URL]($"Raid signups now open for {raid}!"); } else { await [login to view URL](message); } } }``` It has to work in Discord!
Project ID: 16429436

About the project

2 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
United States
0.0
0
Payment method verified
Member since Mar 4, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.